as long as the domain of the cookie is set to yoursite.com it will be
readable from whateveryouwant.yoursite.com

but if the domain is set to www.yoursite.com you won't be able to read it
from yoursite.com

Jim

----- Original Message -----
From: "Mehmet Kamil ERISEN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 2:18 PM
Subject: Re: [PHP] sessions var


> One problem that I have with sessions it that if your login
> page is in www.yoursite.com and the you pop a page
> yoursite.com I think the Session is not recognized.
> just a hint.
> --- William Sanchez Sanchez <[EMAIL PROTECTED]> wrote:
> >
> >
> > I need some help with sessions. I need to pass variables
> > to a page that will
> > load
> > in a new browser window (window.open("",myWindow,"") and
> > <form ...
> > target="myWindow">).
> > I used session_register and I tried using start_session
> > and still no luck.  Once I get the session vars
> > registered, how do I
> > access them from the new window opened...
> >
> >
> > thanks in advantage...
> >
> >
> >
> > William.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> =====
> Mehmet Erisen
> http://www.erisen.com
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to