On Wednesday 25 August 2004 12:27 pm, Shaun wrote:
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > >> function clear_orderinfo() {
> > >> global $_SESSION;
> > >> unset($_SESSION["orderinfo"]);
> > >> }
> > >>
> > >> However this function doesnt seem to work and the sessi
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > >> function clear_orderinfo() {
> > >> global $_SESSION;
> > >> unset($_SESSION["orderinfo"]);
> > >> }
> > >>
> > >> However this function doesnt seem to w
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >> function clear_orderinfo() {
> >> global $_SESSION;
> >> unset($_SESSION["orderinfo"]);
> >> }
> >>
> >> However this function doesnt seem to work and the session remains
> >> active, is
> >> there another way to clear a session
>> function clear_orderinfo() {
>> global $_SESSION;
>> unset($_SESSION["orderinfo"]);
>> }
>>
>> However this function doesnt seem to work and the session remains
>> active, is
>> there another way to clear a session?
I'm not triffically experienced, but I do have notes on the subject.
You'r
On Wed, 2004-08-25 at 14:34, Shaun wrote:
> I am writing a shopping cart and am using a session called
> $_SESSION["orderinfo"] to store the order information. I also have a
> function I use to clear the session when the payment has been authorized:
>
> function clear_orderinfo() {
> global $_SE
Hi,
I am writing a shopping cart and am using a session called
$_SESSION["orderinfo"] to store the order information. I also have a
function I use to clear the session when the payment has been authorized:
function clear_orderinfo() {
global $_SESSION;
unset($_SESSION["orderinfo"]);
}
Howev
-
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 14, 2002 1:43 PM
Subject: Re: [PHP] Destroying a session!!!
> The cookie that stores the session id will live until the browser window
is
> closed. You can apply a different lif
ister your variables. This is a good idea even if you're not using
sessions for a secure login system.
-Kevin
- Original Message -
From: "Gabor Niederlaender" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 14, 2002 12:07 PM
Subject: [PHP] De
Hi all!
I have seen a couple of discussions on the same topic, but even so I
do not really know how to destroy sessions.
I would like to achieve, that a second login after a logout generates
a wholly new session, with a new session id.
I have tried:
session_unset();
session_destroy();
an
9 matches
Mail list logo