Consider this script:
The output here will be Doug even though you have called Session.Abandon the reason is that the session object is NOT deleted until ALL of the scripts in the current page have been executed. So, that means that you can call any session values on the page you call Session.Abandon but, after that, the session variables are then gone.
So given the above script when I navigate to this script:
My output will be blank.
My guess is that on home.asp you are recreating a session after you have called session.abandon what I would suggest is that your href link to a page called logout.asp and the script of that page shoudl be:
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
Technical Editor for: Professional Search Engine Optimization with ASP.NET
Why can't Programmers, program??