Re: Session Cookie not accessible across Sub-Domains
- From: "Doug" <Doug@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 Aug 2005 17:06:02 -0700
Hi John,
I wasn't referring to sharing sessions across parent domains (e.g.
"mydomain1.com" and "mydomain2.com"). I want to share sessions on sub-domains
of the same domain (e.g. "www.mydomain.com" and "search.mydomain.com").
Regards,
Doug
"John Timney (ASP.NET MVP)" wrote:
> sorry I misread your question (its late here!!).
>
> You can't share sessions across domains, nor applications natively - so it
> will always set a new cookie as you move between domains. Because you can
> share cookies across those applications (and between those domains) one
> approach is to store your shared data in a database and use a shared domain
> cookie to identify the data in the database.
>
> --
> Regards
>
> John Timney
> ASP.NET MVP
> Microsoft Regional Director
>
.
- Follow-Ups:
- Re: Session Cookie not accessible across Sub-Domains
- From: John Timney \(ASP.NET MVP\)
- Re: Session Cookie not accessible across Sub-Domains
- References:
- Session Cookie not accessible across Sub-Domains
- From: Doug
- Re: Session Cookie not accessible across Sub-Domains
- From: John Timney \(ASP.NET MVP\)
- Re: Session Cookie not accessible across Sub-Domains
- From: Doug
- Re: Session Cookie not accessible across Sub-Domains
- From: John Timney \(ASP.NET MVP\)
- Session Cookie not accessible across Sub-Domains
- Prev by Date: Re: ASP.net won't work in virtual directrory
- Next by Date: DropdownList autopostback in usercontrol not working for ASP.NET 1
- Previous by thread: Re: Session Cookie not accessible across Sub-Domains
- Next by thread: Re: Session Cookie not accessible across Sub-Domains
- Index(es):
Relevant Pages
|