here&#39;s one way to do it:<br><a href="http://dev.catalystframework.org/wiki/wikicookbook/nextpageredirect">http://dev.catalystframework.org/wiki/wikicookbook/nextpageredirect</a><br><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 7:34 PM,  <span dir="ltr">&lt;<a href="mailto:kakimoto@tpg.com.au">kakimoto@tpg.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
hi, everybody,<br>
<br>
<br>
 Take this scenario:<br>
  a user who has yet to login tries to access a path that is only for<br>
logged in users.<br>
  Assume it is <a href="http://www.lginsurance.com.au/subcriptions/add" target="_blank">www.lginsurance.com.au/subcriptions/add</a>.<br>
<br>
<br>
 Hence, in my index.tt2, upon displaying a message indicating that the<br>
current user has yet to log in, I also display the log in form.<br>
<br>
 ----------------- extract from index.tt2 - starts ------------------<br>
<br>
[% IF Catalyst.user_exists %]<br>
    [% PROCESS &quot;menu.tt2&quot; %]<br>
[% ELSE %]<br>
    User has not logged in.<br>
    [% PROCESS &quot;login.tt2&quot; %]<br>
[% END %]<br>
<br>
<br>
 ----------------- extract from index.tt2 - ends ------------------<br>
<br>
<br>
<br>
upon successful login, how do i get redirect users back to the page they<br>
wanted to access previously (which is<br>
<a href="http://www.lginsurance.com.au/subcriptions/add" target="_blank">www.lginsurance.com.au/subcriptions/add</a>)? At the moment, upon successful<br>
login, menu.tt2 will be called.<br>
<br>
Thank you.<br>
<br>
<br>
K. akimoto<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Devin Austin<br><a href="http://www.codedright.net">http://www.codedright.net</a><br><a href="http://www.dreamhost.com/r.cgi?326568/hosting.html">http://www.dreamhost.com/r.cgi?326568/hosting.html</a> - Host with DreamHost!<br>