Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Location
    Memphis, TN, USA
    Posts
    61

    Unanswered: Session variable at subdomain

    Hi there !

    Can anyone let me know is it possible to retrieve the session variable values in subdomain ? if not then why and if yes then how ?

    I have one domain name http://www.xyz.com/ where few session variable store some important values now i want to use all those session variables in http://abc.xyz.com/..

    Am i make any sense ?

    It would be great help if someone guided me..

    With Thanks !
    Aspkid

  2. #2
    Join Date
    Mar 2004
    Posts
    6
    sessions are automatically destroyed if the browser itself is closed, other than that session.abandon() or session("nameofsession") = null

    so you can create a session and still use that same session even if you open another page and that page calls it

  3. #3
    Join Date
    Dec 2003
    Posts
    454
    I think that your subdomain is using the different IP from the one that your domain is pointed to. So the answer is NO. This case is like two sites. You can not retrieve the value from session created on another site.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •