how to avoid checking session!=null in each page load
how to avoid checking session!=null in each page load in asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Dec 5, 2013, 12:31 AM
hi,
you can create base page all you web page is inherit from this base page and base page is inherit from page
Please refer
http://www.dreamincode.net/forums/topic/45300-base-page-for-detecting-session-timeout-in-aspnetc%23/
http://codebetter.com/davidhayden/2005/03/14/asp-net-page-inheritance-base-page-classes-in-your-web-applications/
hope this will help you.
Sanjeeb LenkaPosted Dec 4, 2013, 11:21 PM