2009年12月29日星期二

Re: [fw-auth] redirect after login from restricted page

You can use the flash messenger to record the request_uri, redirect to a login form, and then check for it on valid login. If it exists, redirect. Otherwise, serve the default protected screen.
- pw

On Tue, Dec 29, 2009 at 5:03 PM, blorriman <bob@strataserve.ca> wrote:

I am working on a site that registered users can input comments which are
then emailed to other registered users - the email includes a link to the
comment - but users must be logged in to read the comment.

What I want is for the user to click the link (from the email) - if they are
not logged in they will go to a fail page that allows them to log in - when
they log in, they will be redirected to the page from the email link.

Can someone give me some direction on how I would do this redirection?
--
View this message in context: http://n4.nabble.com/redirect-after-login-from-restricted-page-tp990697p990697.html
Sent from the Zend Auth mailing list archive at Nabble.com.


没有评论: