Results 1 to 4 of 4

Thread: Can an ASP.NET session be carried forward to classic ASP pages?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Posts
    122

    Question Can an ASP.NET session be carried forward to classic ASP pages?

    I am developing a site using ASP.NET. However, one component of the site is not .NET compliant and requires that I use a classic ASP page for this component.

    Basically, I just redirect from my ASP.NET page to the ASP page. When I look at the Session.SessionID of the classic ASP page, it is different from that of the ASP.NET page. This seems to indicate that ASP starts its own Session.

    Is there any way to make the ASP page use the same SessionID as the ASP.NET page? If not, is there another way around this problem?

  2. #2
    Hyperactive Member MarkusJ_NZ's Avatar
    Join Date
    Jun 2001
    Posts
    375
    Hi, ASP.NET and classic ASP pages use a seperate engine to construct their pages hence the different session values.

    As far as I can remember session values are automatically created by IIS so I do not know if you can alter them...

  3. #3
    Hyperactive Member
    Join Date
    May 2001
    Posts
    306
    Is it possible to change the SessionID? or is it read only?

    If you can change it....just use a querystring, when you call the asp page, that contains the sessionID from ASP.Net. And then Assign the SessionID of ASP to the querystring value.


    Again I have no idea if this will work or not.

  4. #4
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    Why can't you convert the asp part to asp.net. If it's a dll you can use interoperability to create a wrapper for it. VS.Net will do this for you if you reference the asp component in the project as far as I know.

Posting Permissions

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



Click Here to Expand Forum to Full Width