Search
Left Quote    By failing to prepare, you are preparing to fail.
- Benjamin Franklin    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: stopping a session
  This user is offline  misterhaan
  Subject: "stopping a session" Posted: @ 3:25 pm on Aug 23 2005   

Member #: 5
Rank: User - (213)
Since: 02/11/05
Posts: 148
From: chair

my site sometimes gives the following error when i was logged in and then try to refresh a page after long enough that my code says it should not continue the session:
< i>session_ destroy(): Session object destruction failed

this of course is followed by a few 'can't send header' errors (or maybe warnings).

i'm calling session_unset() immediately before session_destroy () and i guess i don't understand exactly what these two functions do, or why it sometimes gives me a warning and sometimes doesn't.


please note that the above post is likely made up in its entirety.
    Viewed: 5,252 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: stopping a session" Posted: @ 5:17 pm on Aug 23 2005    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

I think I read somewhere that it could be a php setting you can turn on or off... maybe shoot an email to your hosting to make sure?




-bs0d | AllSyntax.com

    Viewed: 5,244 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: stopping a session" Posted: @ 8:07 am on Aug 25 2005    
Unregistered

Post Deleted.



    Viewed: 5,233 Times | Reply to This | To top
Viewing Page: 1 of 1


1 |

You must be logged in to post on the forums. Login or Register








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank