What really is the best way to log out and/or clear other session variables.
First off, at the moment I can't remember if SA has it's own separate log out function. Using the built in DW logout, all it seems to do is clear the User ID and not all other session variables.
On the site I'm working on, I want the logout to clear everything. In addition, there are places I want to clear all or some session varsity without logging out.
The site is n ASP, so maybe that's making it more complicated than it needs to be. I also know the code the clear a single session variable so I use that when I don't want an actual logout.
Lastly, and just looking for opinions on this, is it better to use a sinle click log out say from the Nav bar, or direct to some sort of are you sure type middle step, or just log right out and direct to a confirmation? I've seen both ways, but it seems more and more it's just a one click process.