sanjshah12
asked on
ASP / ASP.Net Session Variables
Hi,
I have some session variables in ASP that I would like to convert to ASP.NET session variables so that I can use them on the .net pages
there are 2 possiblilites I could use
Sessionstate.asp
contains a form with the following textfields:
username
company
this then gets redirected to sessionstate.aspx
set the ASP.Net session states
username = request.form("username")
company= request.form("company")
or
sessionstate.aspx convert the session variables
is this possible?
Thanks for any help
I have some session variables in ASP that I would like to convert to ASP.NET session variables so that I can use them on the .net pages
there are 2 possiblilites I could use
Sessionstate.asp
contains a form with the following textfields:
username
company
this then gets redirected to sessionstate.aspx
set the ASP.Net session states
username = request.form("username")
company= request.form("company")
or
sessionstate.aspx convert the session variables
is this possible?
Thanks for any help
ASKER
Apologies for not being very clear, the user in this case is logged in from an ASP page but ASP.Net pages do not recognise asp variables thus I have created the redirect pages from an ASP to ASPX page.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks that works great!
Session("username") = usernameTextbox..Text
Session("company") = companyTextBox.Text
http://msdn.microsoft.com/en-us/library/ms178581.aspx