CodeIgniter Forums
Waiting Screen (Like this Forum) - How? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Waiting Screen (Like this Forum) - How? (/showthread.php?tid=20039)



Waiting Screen (Like this Forum) - How? - El Forum - 06-25-2009

[eluser]Multisnet[/eluser]
Hello,

I'm developing a web application and I would like if someone could explain me the logic behind implementing a waiting screen in CI (like this forum).

Thank You!
Stand by while we direct you to your search results
Click here if you are not redirected automatically.


I want to display a waiting screen for my application users. For example, when they submit the registration form the application access to a web service, it usually takes a while to do the validation, so I would like to show the waiting screen and then if validation fails go back to form, otherwise it should go to another screen.

Could someone explain how to implement this? I've been thinking about this but I can't reach any conclusion...

Thanks in advance...


Waiting Screen (Like this Forum) - How? - El Forum - 06-25-2009

[eluser]Thorpe Obazee[/eluser]
I don't think that's the same thing as what this forum does. I believe that is just a simple message and not related to the loading time or anything.


Waiting Screen (Like this Forum) - How? - El Forum - 06-25-2009

[eluser]Multisnet[/eluser]
After submit the search it goes to:
http://ellislab.com/forums/do_search/

I think that while it shows the message its processing the request. Maybe I'm wrong.. Anyway, someone have an idea?


Waiting Screen (Like this Forum) - How? - El Forum - 06-25-2009

[eluser]Thorpe Obazee[/eluser]
[quote author="Multisnet" date="1246000596"]After submit the search it goes to:
http://ellislab.com/forums/do_search/

I think that while it shows the message its processing the request. Maybe I'm wrong.. Anyway, someone have an idea?[/quote]

I'm pretty sure it doesn't. I believe it's meant to redirect to the URL that is present when you view the search results.

You could load a view, then redirect to the 'results page'.


Waiting Screen (Like this Forum) - How? - El Forum - 06-26-2009

[eluser]TheFuzzy0ne[/eluser]
Indeed. The processing has already taken place when you see that message, the message just displays so you know what's going on and you have a chance to read it.