If I issue a redirect to another page in my site is it possible to detect via Active4D commands where the redirect came from without passing the source as a query parameter?
I'm redirecting to a login page under certain circumstances. Upon successful login I'd like to take the user back to where they first tried to go.
Maybe it's obvious but why you just don't store the url in a session variable ?
That is a good idea but in this case I haven't started the session yet. That happens when the the user successfully logs in.
I don't use automatic sessions because there are some simple Active4D web apps on the same server that don't need sessions.
Passing the original url in a query parameter seems like the best solution.
'request info{"referer"}' will tell you the page you came from, then you can put a simple flag in the query instead of the entire url.
Regards,
Aparajita Victory-Heart Productions [EMAIL PROTECTED] www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________ Active4D-dev mailing list [EMAIL PROTECTED] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
