Re: ASP and ASP.NET session pool

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Michael Ramey (raterus_at_localhost)
Date: 02/03/04


Date: Tue, 3 Feb 2004 16:05:19 -0500

Here is a microsoft doc on the matter.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp

"David Kleyman" <test@hotmail.com> wrote in message
news:%23MgTsRp6DHA.1816@TK2MSFTNGP12.phx.gbl...
> Hello
>
> I am trying to gradually convert an existing ASP application in to ASP.NET
> one page at the time
> I am having a problem doing that. ASP and ASPX pages don't seem to be
> sharing the session pool
>
> For example
> In the old application login page was checking login credentials and if
they
> were correct creating a session variable UserID like this
> Dim userid
> userid = Request("UserID")
> Session("UserID") = userid
>
> then response was redirected to the main application page
> Response.Redirect("main.asp")
>
> in the new login.aspx web form I am doing pretty much the same thing but
> after the redirect to the main.asp it complains that Session("UserID") is
> not there
>
> I guess my questions are
> Can asp and aspx pages share Session values?
> Can I gradually migrate ASP web site to ASP.NET or do I have to do the
whole
> thing at once?
>
> Thank you
>
> David
>
>
>



Relevant Pages

  • Re: How do u set classic ASP session variables from an ASP.NET application???
    ... "How to Share Session State Between Classic ASP and ASP.NET" ... > public class ASPSession ... > public String this ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: session sharing from ASP to ASP.NET
    ... ASP and ASP.NET do not share session data. ... their code within the context of the Classic ASP "Engine". ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP sessionstate
    ... ASP doesn't know or care what browser it ... If html is already sent ... What is a session number? ... Session initialisation is done by the server system, ...
    (microsoft.public.inetserver.asp.general)
  • session_start problems among other things?
    ... The third party has a shopping cart which must be saved in the ... the hosted server that we do not see on our internal development ... save and restore the cart to the session so as to concentrate the ... ASP.NET APIs could be called from ASP pages but the development was ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS 6 loses ASP sessions
    ... ASP bug with keeping track of session IDs -- hard to imagine since it'd ... include crashes happening in the worker process (different process identity ... unless we run IIS 6.0 in 5.0 Isolation Mode. ...
    (microsoft.public.inetserver.iis)