D
David Kleyman
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
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