RE: PHP No Session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Friends,
>
> Does a PHP page still holds the session information that was set
> in the previous page but not in the current page.
>
> Will Page 2 pass the pass the sessions of page 1 to page 3 if
> page 1 sets php sessions, page 2 is not doing so, but is
> referred by page 1, and page 3 is trying to retrive the sessions
> of page 1, that was reffered by page 2?
>
> [page 1]: sets sessions
>   Links page 2.
>
> [page 2]: idle
>   Links page 3
>
> [page 3]: retrives session.
>
> Please tell me how is this maintained.

use session_start() at the beginning of all your scripts that need to
manipulate session data - this will reload the superglobal $_SESSION array
with previously populated data.

hth
rich




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux