In my project I want to write logout code which will work on any browser . My problem is when I login into my home page I am creating session . So in each and every page i am going to check weather session count is there (Session.Count>0) if session count is not there means i am redirecting to login screen and in Logout click i am clearing All Session (Session.Abandon()) . Is this proper way to follow what I have done .
If any suggestions are there means please suggest me .
Thanks in advance