Yup Excelent... That is the best option, if you don't have the master page you can simply do it using handler other wise write the same in master page. :)
cheers, Abhijit CodeProject MVP
when i login that time i remove the sesstion value 'loginpage page_load event code If Page.IsPostBack() = False Then l_objSessionMgr.RemoveAll() FormsAuthentication.SignOut() End If 'this is common function Public Sub RemoveAll() HttpContext.Current.Session.RemoveAll() End Sub