Left Quote    Copy from one, it's plagiarism; copy from two, it's research.
- Wilson Mizner    
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 - (214)
Since: 02/11/05
Posts: 149
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: 6,339 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,508)
Since: 02/06/05
Posts: 602
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 |

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

Post Deleted.

    Viewed: 6,320 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

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