Normaly you store SESSION Data in variables.

When you make the step to another domain, you should reassign a new Session
and
give to data of the old session to the new one.

Or isn't is possible to put some date behind an url like
www.somedomain.com?check=it&out=mh

If you are working with databases you just have to take some values out of
your session,
like username and password, or some like this and find out, what data in the
database belongs
to this user (basket, or viewed artikels)

But you still need to work with one database for both servers, or write all
data to both databases
(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 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                     |
> `----------------------------------------------'
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to