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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top