CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Location
    India
    Posts
    143

    "sharing session between asp and asp.net"

    Hello,
    I have an ASP application and an ASP.NET application now I want to keep some session variables common in both the application, like login details etc, my problem is "how can I use session created by ASP in ASP.NET or v/v?"
    If this is absolutely not possible then what is the best way to achieve the same.

    Thanks
    Anupam.

  2. #2
    Join Date
    Apr 2003
    Posts
    5
    You cannot share session states between ASP and ASP.NET, therefore you cannot use the session to pass information. There are several other options though, the first being cookies. I believe if you do not set an expiration on a cookie it will live for that session only. Other ways of passing information include passing name/value pairs on the URL, e.g. http://localhost/MyWebService.aspx?Search=abc. You can also use form data to share information.

  3. #3
    Join Date
    May 2002
    Location
    India
    Posts
    143
    Thanks Scott...
    Anupam.

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

Featured