[PHP] Re: Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Jason Barnett
You probably need to eat the session cookie in addition to destroying
the session.



--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins


signature.asc
Description: OpenPGP digital signature


[PHP] Re: session destroy ??

2001-12-19 Thread Chris Lee

http://$SERVER_NAME";);
?>

works for me. yes its stupid, but a session has to be started beore it can
be destroyed.

--

  Chris Lee
  [EMAIL PROTECTED]




"Olivier Masudi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In my online store i use session.
>
> I use a script to check that a user dont make 2 order during the same
> session using the back button for that i put his sessionid in the db and
> check it before processing the order.
>
> My probleme is how can i give a new session_id to the person when he goes
> back to the home page of my site so he can do a new order ?
>
> I try session_destroy , session_unset
> but the person have still the same session_id
>
> REMARK
>
> I always use the same string into session_name("abcdef") for all the user.
> Is it a problem?
>
>
> Thanks for your help
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]