At 14:13 06/25/2004, you wrote:

On 25 Jun 2004, at 19:58, Brad Perkins wrote:

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.

Thanks,

Brad

_______________________________________________
Active4D-dev mailing list
[EMAIL PROTECTED]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to