i use session state for logged in users
if session lost(finished) for user and i use this session to insert as a forien key in a table
this will generate runtime error as this id become equal to zero
how can i develop a method to log out the user automatically when session timeout reached
inseted to check at every button on the velue of session.
i have ideia to check on session on global file in Application_BeginRequest event
but give me error
what do you think of this method???
View Complete Post