hi, everybody,
Take this scenario:
a user who has yet to login tries to access a path that is only for
logged in users.
Assume it is www.lginsurance.com.au/subcriptions/add.
Hence, in my index.tt2, upon displaying a message indicating that the
current user has yet to log in, I also display the log in form.
----------------- extract from index.tt2 - starts ------------------
[% IF Catalyst.user_exists %]
[% PROCESS "menu.tt2" %]
[% ELSE %]
User has not logged in.
[% PROCESS "login.tt2" %]
[% END %]
----------------- extract from index.tt2 - ends ------------------
upon successful login, how do i get redirect users back to the page they
wanted to access previously (which is
www.lginsurance.com.au/subcriptions/add)? At the moment, upon successful
login, menu.tt2 will be called.
Thank you.
K. akimoto
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/