Session vars not being seen by another site

Results 1 to 3 of 3

Thread: Session vars not being seen by another site

  1. #1
    Tim Westmoreland Guest

    Default Session vars not being seen by another site

    I am linking to a different web site from within my main site. The session variables created within my main site are not being seen from the second site. As far as I know, I am not creating a session from the second site. Can anyone tell me how to get 2 sites on the same server to share a session?

  2. #2
    David Morgan Guest

    Default RE: Session vars not being seen by another site

    You&#039re not supposed to do it like that!<BR><BR>Session variables are unique to each ASP application, as determined by IIS and virtual directories. I.e.<BR><BR>InetPubwwwrootApplication1<BR>InetPubw wwrootApplication2<BR><BR>You would not be able to share vars accross these two apps.<BR><BR>A better way to do it, if the sites share the same URL, except the directory part, would be to use cookies, as they are unique to a domain.<BR>

  3. #3
    Tim Westmoreland Guest

    Default RE: Session vars not being seen by another site

    Thanks for the info.

Posting Permissions

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