RE: Remove all session keys except one
From: David Coe, MCP (anonymous_at_discussions.microsoft.com)
Date: 06/01/04
- Next message: Jim Cheshire [MSFT]: "RE: file restriction - Forms authentication"
- Previous message: jason: "External command can't find user created *.dll on C#.NET"
- In reply to: Fredrik Rodin: "Remove all session keys except one"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Jun 2004 12:46:09 -0700
You could also set the session variable to a temporary value, clear the session, then reset it, such as:
object returnPath = Session["ReturnPath"]
Session.Clear()
Session.Abandon()
Session["ReturnPath"] = returnPath;
- Next message: Jim Cheshire [MSFT]: "RE: file restriction - Forms authentication"
- Previous message: jason: "External command can't find user created *.dll on C#.NET"
- In reply to: Fredrik Rodin: "Remove all session keys except one"
- Messages sorted by: [ date ] [ thread ]