Re: accessing session variables
| From: | Sascha Cunz | Date: | Sat, 21 Sep 2002 15:39:16 +0000 |
| Subject: | Re: accessing session variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117103@lists.php.net to get a copy of this message | ||
Just use the session_start() in the second page and they will be magically
there where you've put them in the first page.
Sascha
Am Samstag, 21. September 2002 17:01 schrieb Murat Ö.:
> hi,
>
> page1.php creates a session and its variables in it in successfully. the
> variables and values are created like
> $_SESSION['x']='abc'
>
> page1.php sends the SID information to page2.php via GET method. how can i
> access the those variables with SID information in page2.php?
>
> thanks