Session Problem..

  • Thread starter Thread starter sonu
  • Start date Start date
S

sonu

I have created session on .asp page like

<%
Response.write(Session("id"))
Session("id")="amit"
%>

<form name="frm" method="post" action="dfd/shift.asp">
<input type="text" name="txt">
<input type="submit" name="home" value="home">
</form>

when i submit thgis page this page is redirect to the .aspx page

but i am not finding the session value on .aspx page.

My .asp page is out side of .net project folder

please help me
 
You cannot share Session state between classic ASP and ASP.NET. Try saving
your variable to a database or other form of persistent storage.
 
Back
Top