At a summary page, I am trying to clean up Session.Content s so the user can
go back to the main page and not retain any unnecessary info.
I have entered this into my summary page, but it seems to only eliminate
every other or every third entry. If I refresh the page about 0 times
everything eventually clears out. Anyone know why it would do this?
I don't want to use Session.Abandon because there are a few Session.Content s
I want to retain, like usernams and passwords.
<%
----snip----
For Each objItem in Session.Content s
Session.Content s.Remove objItem
Next
----snip----
%>
Session.Content s are being added like this:
<%
----snip----
Session("uName" ) = uName 'put info into a session variable
Session("uEmail ") = uEmail 'put info into a session variable
Session("uPass" ) = uPass 'put info into a session variable
Session("uDomai n") = uDomain 'put info into a session variable
----snip----
%>
Thanks
--
__o
_-\<,
(_)/(_)____
go back to the main page and not retain any unnecessary info.
I have entered this into my summary page, but it seems to only eliminate
every other or every third entry. If I refresh the page about 0 times
everything eventually clears out. Anyone know why it would do this?
I don't want to use Session.Abandon because there are a few Session.Content s
I want to retain, like usernams and passwords.
<%
----snip----
For Each objItem in Session.Content s
Session.Content s.Remove objItem
Next
----snip----
%>
Session.Content s are being added like this:
<%
----snip----
Session("uName" ) = uName 'put info into a session variable
Session("uEmail ") = uEmail 'put info into a session variable
Session("uPass" ) = uPass 'put info into a session variable
Session("uDomai n") = uDomain 'put info into a session variable
----snip----
%>
Thanks
--
__o
_-\<,
(_)/(_)____
Comment