Welcome Guest, Not a member yet? Register   Sign In
alternatives to redirect command
#5

[eluser]Randy Casburn[/eluser]
Hi august.gresens,

You mentioned that this book was about "web site optimization". Did the book have a chapter about "software states" or "state machines" or the idea behind moving your application between one state and another state.

Most people think of web applications as being "stateless", but as soon as you bring in the component of authentication and access control, you've added some form of state control and state awareness.

A logout routine may be one instance where a redirect may be beneficial. This will allow your state machine to move out of a "logged in" state (redirect) to a "logged out" state with absolute certainty since your CI authentication routines will see the redirected browser as a new visitor.

Otherwise, you will have to write new internal controls to manipulate the state to provide the assurances that user is, in fact logged out, with certainty.

I hope this is helpful.

Randy


Messages In This Thread
alternatives to redirect command - by El Forum - 07-22-2008, 04:16 PM
alternatives to redirect command - by El Forum - 07-22-2008, 04:57 PM
alternatives to redirect command - by El Forum - 07-23-2008, 06:31 AM
alternatives to redirect command - by El Forum - 07-23-2008, 10:51 AM
alternatives to redirect command - by El Forum - 07-23-2008, 11:08 AM
alternatives to redirect command - by El Forum - 07-23-2008, 11:28 AM
alternatives to redirect command - by El Forum - 07-23-2008, 01:17 PM
alternatives to redirect command - by El Forum - 07-23-2008, 01:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB