Date: 08/30/00
- Next message: John McKown: "Re: [PHP-DB] repeating records"
- Previous message: Alexandre BEAUNOM: "[PHP-DB] Apache+Php3+Oracle ????"
- In reply to: Dean Hall: "Re: [PHP-DB] Session files never destroyed with PHP4.0.2"
- Next in thread: Dean Hall: "Re: [PHP-DB] Session files never destroyed with PHP4.0.2"
- Reply: Dean Hall: "Re: [PHP-DB] Session files never destroyed with PHP4.0.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dean Hall wrote:
> > I use PHP4 session mechanism and, when I make a call to "session_destroy()"
> > function an error occurs (Session object destruction failed) and the session
> > files on the server side are never destroyed...
>
> I have the same problem -- only PHP gives me no error. When my user clicks
> a "Log out" button, I do 'session_unregister()' for each session variable,
> and then I do 'session_destory()'. None of it works; no variables are
> unregistered, and the session is not destroyed.
>
> I can't help except to suggest using 'session_unregister()' for all your
> session variables. If you find a solution, let me know.
>
> Dean Hall.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
If you guys are using cookie to store your sessions, then just use
setcookie()
and set the 'time' parameter to the past, and the session will be
deleted. I
never tried passing session_id via URL, but if anyone has any other
idea, please
let me know.
- Bernie
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: John McKown: "Re: [PHP-DB] repeating records"
- Previous message: Alexandre BEAUNOM: "[PHP-DB] Apache+Php3+Oracle ????"
- In reply to: Dean Hall: "Re: [PHP-DB] Session files never destroyed with PHP4.0.2"
- Next in thread: Dean Hall: "Re: [PHP-DB] Session files never destroyed with PHP4.0.2"
- Reply: Dean Hall: "Re: [PHP-DB] Session files never destroyed with PHP4.0.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

