Re: how to use session data in other php scripts
| From: | Uchendu Nwachukwu | Date: | Fri, 26 Apr 2002 10:27:16 +0000 |
| Subject: | Re: how to use session data in other php scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94719@lists.php.net to get a copy of this message | ||
Simply do the same thing in the other script. Create a session named
'testsess' and register the variable (under the same name) to it. That
variable will auttomatically take up the it was set to previously.
--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com
"Deval Parikh" <devalparikh@yahoo.com> wrote in message
news:20020426082017.12332.qmail@web9901.mail.yahoo.com...
> Hi,
>
> I have one string variable in script a.php, I regester
> this variable to session name testsess.
>
> this link redirects to another script b.php then how i
> get that string var from session.
>
> basically I want to store var. serverside and use them
> in to different scripts.
>
> If any one help me let me know.
>
> thanks,
>
> ~ deval
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/