Re: [PHP] session_unset & session_destroy being called outside of logic.

2001-09-13 Thread Jason Bell
Thanks for the reply Kirk! > > case logout: > >session_unset(); > >session_destroy(); > >$AuthErr = "Session Terminated"; > >break; > > > > > > What is happening, is after the user authenticates and logs > > in, everything > > looks good, but whenever the user follows any link, t

RE: [PHP] session_unset & session_destroy being called outside of logic.

2001-09-13 Thread Johnson, Kirk
Several comments, Jason. > session_destroy() terminates the session, which cannot be > started up again > until the browser is restarted... Yes, session_destroy removes the session file that stores the values of session variables between pages. Once gone, it cannot be accessed again under any

Re: [PHP] session_unset & session_destroy being called outside of logic.

2001-09-13 Thread Jason Bell
I think I found the answer, but please feel free to still add anything to this: session_destroy() terminates the session, which cannot be started up again until the browser is restarted... sooo... I just removed session_destroy, and settled for using sess_unset() to log out of a session. using