-----Oorspronkelijk bericht-----
Van: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Verzonden: za 30-12-2006 11:38
Aan: [email protected]
Onderwerp: [Catalyst] redirection to the original URI
 
Hi,

If the user wants to access a restricted zone and it is redirected to the 
login page, which is the recommended way of redirecting him back to the 
original URL?

I know that I could create a hidden field in the login form and put the 
request URL in that field, and after the login, make a redirect to that URL, 
but I just want to know if there is a more easier way.

Thanks.

Octavian


Hi Octavian,
instead of putting the URL in a hidden field, you can put it in the session 
hash.
HTH,
Marc

<<winmail.dat>>

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to