Organizational Research By

Surprising Reserch Topic

how to check whether session is expired or not in asp net


how to check whether session is expired or not in asp net  using -'c#,asp.net'

i ve specified the session time out in web.config file..when the session is timeout im not getting redirect to login page but i am geting error saying object reference not set to an instance.

can any one tell me the solution for this?
    
asked Sep 29, 2015 by kinnari
0 votes
13 views



Related Hot Questions



Government Jobs Opening

"); } else { lblUnit.Text = Session["sessUnit_code"].ToString(); LblGrcSr.Text = Session["sessgrcSerial"].ToString(); } }
answered Sep 29, 2015 by mtabakade

...