session_unset()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
EricS
Forum Contributor
Posts: 183
Joined: Thu Jul 11, 2002 12:02 am
Location: Atlanta, Ga

session_unset()

Post by EricS »

Does anyone know if using session_unset() a lot in an application causes any problems with servers?

Basically, I use session_unset() at the bottom of a large number of the pages in the administrative sections of a web site I'm working on.

As a counter measure to session variable problems I've seen and had, I started using session_unset() at the bottom and then I reset any variables that are applicable at the time. This keeps me from having wondering session variables that sometimes bite me in butt.

Has anyone else run into unstability problem when doing something similar to this?
Post Reply