php-general | 2005051
Date: 05/15/05
- Next message: Evert | Rooftop: "Re: [PHP] what am I missing..interpolation?"
- Previous message: Duta Laurentiu: "[PHP] php_socket"
- In reply to: Leif Gregory: "Re: [PHP] Re-initiating an autostarted session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Leif Gregory wrote:
> session_destroy();
> session_start();
> session_write_close();
> Header("Location: ...");
> exit;
>
> I never tried regenerate. Just started a new session again.
Hi Leif!
Thanks for your reply. For some strange reason, this works not for me. The session cookie will not be overwritten and the user won't get a new session id - even all the session data from the server is destroyed. I tried to unset the session cookie manually (setcookie( session_name() ,"",0,"/");) but without results.
Thanks also Mr. Jason Barrett for your reply, but I couldn't manage to get the session regeneration work.
So, I'm still looking for a solution... =)
Thanks,
Ville
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Evert | Rooftop: "Re: [PHP] what am I missing..interpolation?"
- Previous message: Duta Laurentiu: "[PHP] php_socket"
- In reply to: Leif Gregory: "Re: [PHP] Re-initiating an autostarted session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

