Reply to Re: Domain Redirect - loses session variables

Your name:

Reply:


Posted by Vic Spainhower on 10/09/05 17:21

> If you want this to work, you'd need a method of migrating the session
> data
> from one domain to the other through some shared data storage.

Thanks Andy, I think I'll just move the entire application to the new domain
name. I was just trying to not have to do this. This will also provide me a
test environment for the app so it's probably worthwhile.

Vic



"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:il4ik1pimmlp33opvbt1ltvgmle5l7knnk@4ax.com...
> On Sat, 8 Oct 2005 20:56:41 -0700, "Vic Spainhower" <vic@showsec.com>
> wrote:
>
>>> Sessions can't be used across multiple domains.
>>
>>Thanks Jerry - not really what I wanted to hear though!
>
> If you want this to work, you'd need a method of migrating the session
> data
> from one domain to the other through some shared data storage.
>
> For example, save all session data to a database accessible by both
> domains,
> mark this with a unique identifier, and pass that ID as a parameter across
> to
> the other domain in the redirect.
>
> Start a new session on the new domain, and populate it with data from the
> ID
> passed, read from the shared database.
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация