Re: session thingies
| From: | Pafo | Date: | Thu, 09 May 2002 08:10:19 +0000 |
| Subject: | Re: session thingies | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96780@lists.php.net to get a copy of this message | ||
that dident look that hard,, how about to delete a single session and not
all sessions,,
cause in .asp u cant delete a single session...
in asp u use a command called session.abandon to destroy all the sessions,,
whats the php name for this.. ?
----- Original Message -----
From: "Austin Marshall" <amars@pdq.net>
To: "Pafo" <pafo@pafo.net>
Cc: <php-general@lists.php.net>
Sent: Thursday, May 09, 2002 1:59 AM
Subject: Re: session thingies
> Pafo wrote:
> > i dont understand how to use sessions with php...
> >
> > i got 4 pages and i want to set a session on page 1 that can be reed
from
> > page 2-3-4 and i want to set anotherone at page 3 that can be reed at
> > 1-2-4...
> >
> > please, som example code,,
> >
> > thx in advance
> >
> >
>
> FILE 1:
>
> <?php
> session_start();
> $_SESSION['foo']="banana";
> ?>
>
> File 2:
> <?php
> session_start();
> echo $_SESSION['foo'];
> ?>
>
> It's not hard.
>