cross sub-domains session sharing

Discussion in 'ASP .Net' started by Beno?t Rigaut, Aug 3, 2004.

  1. I have 2 domains X.AAAA.BB and Y.AAAA.BB and I would like to share
    sessions values between them.

    According to the cookie specification it is possible to create a
    cookie with a common domain setting: .AAAA.BB. Thus the browser will
    send back the cookie to both of the web sites X.AAAA.BB and Y.AAAA.BB.
    (cf. http://www.cookiecentral.com/faq/#3.3)

    Is it possible to ask the .Net framework to set the session cookie to
    ..AAAA.BB instead of the full domain name of the current web site?

    Many thanks for your help,
    --
    Benoît Rigaut
     
    Beno?t Rigaut, Aug 3, 2004
    #1
    1. Advertising

  2. Beno?t Rigaut

    bruce barker Guest

    by default no. nor is it possible with inproc sessions (as the session data
    is in the appdomain of the vdir). if you use out of process sessions, and
    take over session management you can do it.

    -- bruce (sqlwork.com)


    "Beno?t Rigaut" <> wrote in message
    news:...
    > I have 2 domains X.AAAA.BB and Y.AAAA.BB and I would like to share
    > sessions values between them.
    >
    > According to the cookie specification it is possible to create a
    > cookie with a common domain setting: .AAAA.BB. Thus the browser will
    > send back the cookie to both of the web sites X.AAAA.BB and Y.AAAA.BB.
    > (cf. http://www.cookiecentral.com/faq/#3.3)
    >
    > Is it possible to ask the .Net framework to set the session cookie to
    > .AAAA.BB instead of the full domain name of the current web site?
    >
    > Many thanks for your help,
    > --
    > Benoît Rigaut
     
    bruce barker, Aug 3, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. george d lake

    Forms Auth cross multiple sub domains

    george d lake, Nov 11, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    1,445
  2. Suresh

    Sharing session across the domains

    Suresh, Dec 10, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    437
    Suresh
    Dec 10, 2004
  3. guoqi zheng

    share same session across sub domains.

    guoqi zheng, Jun 13, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    535
    Brock Allen
    Jun 13, 2005
  4. =?Utf-8?B?RG91Zw==?=

    Session Cookie not accessible across Sub-Domains

    =?Utf-8?B?RG91Zw==?=, Aug 22, 2005, in forum: ASP .Net
    Replies:
    14
    Views:
    29,254
    anilchanna
    Nov 6, 2009
  5. kavili
    Replies:
    0
    Views:
    548
    kavili
    Aug 1, 2006
Loading...

Share This Page