PDA

View Full Version : session_destroy play with your database?


duniyadnd
05-30-2003, 05:25 PM
I created this logout script, which basically calls in a simple function which has session_destroy().

However, when the page reloads the second time around, there's no database to be found unless i refresh the page one more time.

Anyone else have the same problem?

Same problem occurs when I use session_unset()

Duniyadnd

Spookster
05-30-2003, 05:33 PM
Are you storing the connection string/identifier etc in the session?

duniyadnd
05-30-2003, 05:34 PM
No, I got nothing in the session that has to do with the database. Especially calling it in.