-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello all,
here is my problem:
I perform a check on a session variable in onCreate() method and if the session variable is not set, I do a redirect.
Problem is this gives a jittery effect since onCreate is called after rendering the page and if session var is not set, it immediately redirects to a new page after flashing the original page for half a second...
Is there any way, where I can put this check before rendering the page, so that even before rendering I can find out if the session var is set or not...
Thanks a ton!!
Vinay :)
Asked: 2008-12-03 18:38:40 +0800
Seen: 240 times
Last updated: Aug 30 '13