I do have control over the content of both domains...in fact right now it's
the identical content....even the same physical data store on the disk, I
just seem to be losing session variables for one reason or another.

DAvid

-----Original Message-----
From: Robert Cummings [mailto:[EMAIL 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.

David Buerer wrote:
> 
> 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 session variables
defined
> and then I call the page https://secure.web.com/index.html
> <https://secure.web.com/index.html>  do I still have access to the same
> session variables?

-- 
.-----------------.
| Robert Cummings |
:-----------------`----------------------------.
| Webdeployer - Chief PHP and Java Programmer  |
:----------------------------------------------:
| Mail  : mailto:[EMAIL PROTECTED] |
| Phone : (613) 731-4046 x.109                 |
:----------------------------------------------:
| Website : http://www.webmotion.com           |
| Fax     : (613) 260-9545                     |
`----------------------------------------------'

Reply via email to