1.In your
web.config
,
sessionState
setting you should set the
timeout
attribute to a bigger value like in the next example, where the value is
24 hour =1440 minutes
(normally no user will stay longer then 24 hours on a site):
<sessionstate mode="InProc" cookieless="false" timeout="1440" />
2.You could find more details about this
sessionState
setting in
MSDN[
^]