Date: 01/26/00
- Next message: Arnaud Lecat: "[PHPLIB] Problems when submiting a PHPLib site to Altavista"
- Previous message: Ben Ryan: "[PHPLIB] ODBC error message when logging in (2)"
- In reply to: Detlev Wagner: "[PHPLIB] $sess->delete() not yet available?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoting Detlev Wagner <d.wagner <email protected>>:
> 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 <email protected>> -- relevancy is the opiate of the masses - PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Arnaud Lecat: "[PHPLIB] Problems when submiting a PHPLib site to Altavista"
- Previous message: Ben Ryan: "[PHPLIB] ODBC error message when logging in (2)"
- In reply to: Detlev Wagner: "[PHPLIB] $sess->delete() not yet available?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

