Use sfGuardPlugin, it already does that kind of things :)

On Wed, Mar 11, 2009 at 12:55 PM, Lawrence Krubner
<[email protected]> wrote:
>
>
> If someone tries to go to a secure page, I want to stop them and force
> them to login. Once they are logged in, I want to send them to
> wherever it was they were trying to go. How do I do this?
>
> I thought I needed to get REQUEST_URI, but I find it is not mentioned
> on the Symfony site:
>
> http://www.google.com/search?q=REQUEST_URI+site%3Asymfoy-project.org&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to