This tip shows you how to return a Web user to any element from an agent with a wait time.
Use the following subroutine call at the end of any agent processing to redirect any element within the current database (or to any other database or URL).
This allows the user to see a fleeting message on screen for a designated amount of time (e.g., Thank You your Request has been submitted!). You can control the amount of time the message is being seen.
This may also be useful when you want the user to wait a few seconds (for example, redirecting to a newly indexed view) before redirecting to the view. Here the wait is at the browser client and not at the server, so you have more control over what you can display during this period.
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip exchange by member Sandeep Goyal. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.