[PHP] Sessions /Cross Domain

2002-09-18 Thread David Buerer
Are sessions domain specific? What I mean is this. Suppose I have two websites: secure.web.com www.web.com http://www.web.com and both web sites point to the same set of data. If I looking at web page http://www.web.com/index.html http://www.web.com/index.html and have a set of

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Robert Cummings
Domains are specific, and so you do not get the same sesion variables. here's are ways around this, but you need control of the content of both servers. Cheers, Rob. David Buerer wrote: Are sessions domain specific? What I mean is this. Suppose I have two websites: secure.web.com

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Sascha Braun
, 2002 7:38 PM Subject: [PHP] Sessions /Cross Domain Are sessions domain specific? What I mean is this. Suppose I have two websites: secure.web.com www.web.com http://www.web.com and both web sites point to the same set of data. If I looking at web page http://www.web.com

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Jacob Miller
My first assumption would be yes they are domain specific, but it might be possible to cross domains if both domains were run from the same web server and you were to pass the session id between pages manually rather than it being stored in a cookie.. What does everyone else think? - Jacob

RE: [PHP] Sessions /Cross Domain

2002-09-18 Thread David Buerer
PROTECTED]] Sent: Wednesday, September 18, 2002 11:06 AM To: David Buerer Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Sessions /Cross Domain Domains are specific, and so you do not get the same sesion variables. here's are ways around this, but you need control of the content of both servers. Cheers, Rob

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Robert Cummings
Sascha Braun wrote: Yeah, I believe so, but you could reinitialize them when you jump to the other webserver, or you use one mysql database for sessionmanagement for both webservers. Not exactly true, since if they jump to another server, you can make the assumption they have a session

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Sascha Braun
(Server1 Server2) Am I wrong are would this work out? Sascha - Original Message - From: David Buerer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 7:48 PM Subject: RE: [PHP] Sessions /Cross Domain I do have control over the content of both domains...in fact

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Sascha Braun
: [PHP] Sessions /Cross Domain Sascha Braun wrote: Yeah, I believe so, but you could reinitialize them when you jump to the other webserver, or you use one mysql database for sessionmanagement for both webservers. Not exactly true, since if they jump to another server, you can make

RE: [PHP] Sessions /Cross Domain

2002-09-18 Thread James E Hicks III
] Sessions /Cross Domain Are sessions domain specific? What I mean is this. Suppose I have two websites: secure.web.com www.web.com http://www.web.com and both web sites point to the same set of data. If I looking at web page http://www.web.com/index.html http://www.web.com

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Chris Shiflett
James's answer is likely what you are looking for. As there are many different ways to maintain sessions, you're going to get many different answers. However, the default behavior for PHP sessions is to assign the unique identifier to a cookie. If this cookie has a domain of .web.com (see