The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Redirect based on sessions...

redirecting a user 's Avatar

redirecting a user

01 Feb, 2012 12:43 AM

HI, i have my index.php where i instanciate my app, put there routes...
I would like to redirect user to another page ( login.php) if there is non session created while login process.
How to handle this feature in slim ?
Thanks

  1. 1 Posted by nathanlogan on 21 Feb, 2012 06:02 PM

    nathanlogan's Avatar
  2. Support Staff 2 Posted by Josh Lockhart on 24 Mar, 2012 07:45 PM

    Josh Lockhart's Avatar

    Closing this out.

  3. Josh Lockhart closed this discussion on 24 Mar, 2012 07:45 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac