How to display a "Processing..." form like travelocity...

N

Nevyn Twyll

I have a process that sometimes takes quite a while to complete (5-10
seconds), and while it's going, I'd like to show the user a little message
with an animated gif or something to let them know it's really working.

Any ideas?
 
L

Lucas Tam

I have a process that sometimes takes quite a while to complete (5-10
seconds), and while it's going, I'd like to show the user a little
message with an animated gif or something to let them know it's really
working.

Here is what I do:

1. Create a new thread and place the thread in a session variable

2. Redirect user to a processing page. Wait for 5 seconds

3. Redirect back to inital page, check session variable to see if thread is
complete. If not, Redirect to processing page.

4. Repeat.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top