D
DougS
I have a simple ASP.Net application, framework 1.1, sp1, VS2003. I cant set
a session variable or a cookie. How can I tell if there is something wrong
with my environment?
Dim cookie As HttpCookie = New HttpCookie("UserID", txtName.Text)
cookie.Expires = DateTime.Now.AddDays(3)
Response.Cookies.Add(cookie) 'there is not a txt file in my cookies folder
Session code:
Session.Add("RepID", txtName.Text)
When I reference this session in another subroutine on the same page the
session is NOTHING
a session variable or a cookie. How can I tell if there is something wrong
with my environment?
Dim cookie As HttpCookie = New HttpCookie("UserID", txtName.Text)
cookie.Expires = DateTime.Now.AddDays(3)
Response.Cookies.Add(cookie) 'there is not a txt file in my cookies folder
Session code:
Session.Add("RepID", txtName.Text)
When I reference this session in another subroutine on the same page the
session is NOTHING