Yes. No. My method retains the session variable, but sets its value to an
empty string. Yours removes it altogether from the collection.
You can test the content/value of your session variables like this:
For each x in Session.Contents
Response.Write x & ": " & Session.Contents(x) & "<br />"
Next
--
Mike Brind
"Mangler" <dw******@directwireless.comwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
<% Session.Contents.Remove("uname") %>
Would this work the same?
Mike Brind wrote:
>"Mangler" <dw******@directwireless.comwrote in message
news:11**********************@e3g2000cwe.googlegr oups.com...
>I have 2 sessions that get created. One when the user logs in called
"uname" and another called "idrma" when that user choses to begin a
repair request. I know <%session.abandon% will kill both sessions,
how to I only target one?
You mean two session VARIABLES.
To create a session variable: Session("Uname") = "Some value"
To "kill" it: Session("Uname") = ""
--
Mike Brind