2
Answers

Session Time out very early

Danish Habib

Danish Habib

10y
686
1
Dear all I have an application is hosted and  its session is time out very early weather I  have given much time in web.config below is the code of web.config
<system.web>
<sessionState
      mode="InProc"
      timeout="120" />
    <customErrors mode="Off"/>
    <compilation debug="true" targetFramework="4.0">
And below is the code of my logout page
 Session.Clear()
        Session.Abandon()
        LoggedInUserId = 0

        Response.Cache.SetCacheability(HttpCacheability.NoCache)

        Response.Cache.SetExpires(DateTime.Now.AddMinutes(60))

        Response.Cache.SetNoStore()

        Response.Redirect("~/Login.aspx")
Answers (2)
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 15y
0
Amit Choudhary

Amit Choudhary

NA 27.7k 3m 15y
hi friend,

Please give more details about it how you want to read. if you want to read HTML file you can read it as XML file  programmatically and if you want to read it using like javascript then you can identify the table by giving it an id. and read the rows.

Please mark as answer if it helps.