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
-
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
The cookie that stores the session id will live until the browser window is
closed. You can apply a different lifetime to the cookie by using
session_set_cookie_params() but I doubt that'll do what you want. Just use
the session_id() function to change the session id manually when you
register
7 matches
Mail list logo