[prev in list] [next in list] [prev in thread] [next in thread]
List: phplib
Subject: Re: [PHPLIB] $sess->delete() not yet available?
From: Chuck Hagenbuch <chagenbu () wso ! williams ! edu>
Date: 2000-01-26 17:59:17
[Download RAW message or body]
Quoting Detlev Wagner <d.wagner@21torr.com>:
> I try to use the delete() method from the session class on the exit page
> of my shop. But all I get is the Browser-Output "This has not been coded
> yet."
> Does this mean that the delete() method is not available or does anybody
> know from where this message else could result? I'm working with phplib
> 7.2 and Linux, Apache and everything else works fine.
In everything but the latest CVS, $sess->delete() produces that error
message when you're not in cookie mode. You can get around this by looking
at session.inc from the latest cvs and changing the put_id() function to
match, or by something like this:
if ($sess->mode == 'cookie') $sess->delete();
-chuck
--
Charles Hagenbuch, <chagenbu@wso.williams.edu>
--
relevancy is the opiate of the masses
-
PHP3 Base Library Mailing List. Send messages to <phplib@lists.netuse.de>.
To unsubscribe, send "unsubscribe" to <phplib-request@lists.netuse.de> in
the body, not the subject, of your message.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic