If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Session variable at subdomain

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-04, 09:10
sqlboy sqlboy is offline
Registered User
 
Join Date: Mar 2003
Location: Memphis, TN, USA
Posts: 61
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
Reply With Quote
  #2 (permalink)  
Old 03-11-04, 19:29
w1n78 w1n78 is offline
Registered User
 
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
Reply With Quote
  #3 (permalink)  
Old 03-11-04, 21:55
gyuan gyuan is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On