php-general | 2005051
Date: 05/11/05
- Next message: Rory Browne: "[PHP] Generating a php file"
- Previous message: Jason Barnett: "[PHP] Re: Re-initiating an autostarted session"
- In reply to: Ville Mattila: "[PHP] Re-initiating an autostarted session"
- Next in thread: Ville Mattila: "Re: [PHP] Re-initiating an autostarted session"
- Reply: Ville Mattila: "Re: [PHP] Re-initiating an autostarted session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Ville,
Wednesday, May 11, 2005, 12:32:07 PM, you wrote:
V> session_destroy();
V> session_regenerate_id();
V> session_write_close();
V> Header("Location: ...");
V> exit;
I honestly don't know if it's the right way, but I ran into a similar
issue a while back. I did it this way:
session_destroy();
session_start();
session_write_close();
Header("Location: ...");
exit;
I never tried regenerate. Just started a new session again.
-- Leif (TB lists moderator and fellow end user).Using The Bat! 3.5 Return RC7 under Windows XP 5.1 Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Rory Browne: "[PHP] Generating a php file"
- Previous message: Jason Barnett: "[PHP] Re: Re-initiating an autostarted session"
- In reply to: Ville Mattila: "[PHP] Re-initiating an autostarted session"
- Next in thread: Ville Mattila: "Re: [PHP] Re-initiating an autostarted session"
- Reply: Ville Mattila: "Re: [PHP] Re-initiating an autostarted session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

