Sorted it. for some reason it was holding the session because I had two browser windows open which is the environment it will be used in by the users.
strange though... -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Harlequin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Morning guys. > > I'm trying to destroy a session using "session_destroy();" and I get the > following error: > > "Trying to destroy initialised session" > > I simply want a user to click a logout button that destroys the session > cookie. Am I doing this the right way...? > > -- > ----------------------------- > Michael Mason > Arras People > www.arraspeople.co.uk > ----------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php