Session variable is lost between ASP & ASP.NET pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi folks,

I must be missing something here. I have an ASP page that I create a
Session variable in as follows.

Session ("name")="Joe"

In an ASP.NET page in the same project and the same session, I call the
Session variable as follows:

Dim str As String
str = Session("name")

When I do a Response.Write (str), nothing writes to the screen.

Any thoughts on what is happening here would be appreciated
 
re:
nothing but the phrase "asp" in common

Absolutely...

The seminal work on sharing session state between ASP and ASP.NET is :

"How to Share Session State Between Classic ASP and ASP.NET"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 

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