J
John Morgan
I am using asp.net 2.0
I have not used session state for some time possibly just in ASP.net
1.1 and ASP
I have always found it a simple technique but now in ASP.NET 2.0 I am
getting a perplexing problem and I would be most grateful for some
help.
I have an ASPX 2.0 page which has the following code:
****************************
Session("userID") = 22
response.redirect ("walkEntry.aspx")
********************************
The walkEntry,aspx page has the following code:
Sub page_load......
dim intUserID as integer
intUserID = Session("userID")
Response.Write(intUserID)
end sub
**************************************
When the code is run the walkEntry.aspx page shows the intUserID
value as 0
If I then go to the browser window and re-enter the page and press
Enter on the keyboard then walkEntry.aspx shows up properly and the
intUserID value shows up correctly as 22
Where am I going wrong?
Best wishes, John Morgan
I have not used session state for some time possibly just in ASP.net
1.1 and ASP
I have always found it a simple technique but now in ASP.NET 2.0 I am
getting a perplexing problem and I would be most grateful for some
help.
I have an ASPX 2.0 page which has the following code:
****************************
Session("userID") = 22
response.redirect ("walkEntry.aspx")
********************************
The walkEntry,aspx page has the following code:
Sub page_load......
dim intUserID as integer
intUserID = Session("userID")
Response.Write(intUserID)
end sub
**************************************
When the code is run the walkEntry.aspx page shows the intUserID
value as 0
If I then go to the browser window and re-enter the page and press
Enter on the keyboard then walkEntry.aspx shows up properly and the
intUserID value shows up correctly as 22
Where am I going wrong?
Best wishes, John Morgan