There was just a big thread on how to do this sort of thing. See the mail archive for the thread on �How to redirect after Login !�.
http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg06200.html The one thing I wouldn�t do is write my own SessionValidator. The approaches described in the above thread are much better IMHO, and they also preserve the parameters of the request, in additon to the requested template. Skip > -----Original Message----- > From: Peter Lynch [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 1:35 AM > To: Turbine Users List > Subject: Re: disallow anonymous access > > > Also see this thread > > http://www.mail-archive.com/[email protected]/ms > g04388.html > > -Peter > > ----- Original Message ----- > From: "Ming Fai" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 12, 2002 10:50 PM > Subject: disallow anonymous access > > > > There is a scenario as follows: > > A user enter the Turbine site via a deep-link. (e.g. > /template/xxx to > reach > > a specific page) Then he should see a login page. After he has > successfully > > logged in, he get to the deep-linked page. > > > > In another words, there are two features: > > 1. disable anonymous access (except to the login page, certainly) > > 2. enforce deep-link > > > > How should I implement this in Turbine? > > > > regards, > > mingfai > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
