G
Guest
Hi all
I've got a .Net site that has 3 session variables...the variables should persist over 23 unique insert pages, 23 update, and 23 "view total" pages...
And the problem is once I get past one page, the session vars disappear
The logic is
1. logon = set a session var to the email addres
2. redirect to a "main page" that uses the email sess var in a query to get the UserID in the database
This is successful because I have the user id sess var displayed on the page
now, if I do other stuff, like go to a different insert or update page and then navigate back to my main page, the session var is gone
and from the main page, there is an "update my info" that leads to a page that has a query that should be using the UserID session var, and I can see the session var on the page, but then when I go to the update page....it doesn't catch the session var in the query
I'm at wits end...I've been up 2 days (I know many of you know this feeling) help
==============
The session vars are set on the page load event just like the DMX tutorial says it should be..
Does a .Net form actually have to post back to itself to set the variable
Does it work to set the sess var on page load then do a response.redirect to another page? Shouldn't the variable still persist
HELP!!!!
I've got a .Net site that has 3 session variables...the variables should persist over 23 unique insert pages, 23 update, and 23 "view total" pages...
And the problem is once I get past one page, the session vars disappear
The logic is
1. logon = set a session var to the email addres
2. redirect to a "main page" that uses the email sess var in a query to get the UserID in the database
This is successful because I have the user id sess var displayed on the page
now, if I do other stuff, like go to a different insert or update page and then navigate back to my main page, the session var is gone
and from the main page, there is an "update my info" that leads to a page that has a query that should be using the UserID session var, and I can see the session var on the page, but then when I go to the update page....it doesn't catch the session var in the query
I'm at wits end...I've been up 2 days (I know many of you know this feeling) help
==============
The session vars are set on the page load event just like the DMX tutorial says it should be..
Does a .Net form actually have to post back to itself to set the variable
Does it work to set the sess var on page load then do a response.redirect to another page? Shouldn't the variable still persist
HELP!!!!