0

Possible Duplicate:
Session timeout in ASP.NET

I have taken user id in session and based on this session. Data is being fetched. but my session is expiring too quickly, although user remains on site continuously. Please help me. my application is running on a LAN.

Community
  • 1
  • 1
Mohan Sharma
  • 165
  • 1
  • 4
  • 14
  • What language are you using? PHP? ASP.NET? Also, what is "too quickly"? And what does your configuration look like (e.g. if you're on ASP.NET, please quote the relevant section of your web.config file) – Dean Harding Oct 05 '10 at 05:04
  • Thanks for your reply .where and what should i mention in config file to maintain session? – Mohan Sharma Oct 05 '10 at 05:19
  • @Mohan: read Dean's comment again. What platform are you using? – Michael Petrotta Oct 05 '10 at 05:28
  • sorry, i am using vs2008, asp.net with c#. Thank you – Mohan Sharma Oct 05 '10 at 05:30
  • @Mohan, see [Session timeout in ASP.NET](http://stackoverflow.com/questions/648992/session-timeout-in-asp-net) – Michael Petrotta Oct 05 '10 at 05:49
  • thank you very much Michael. can i use stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="60" sqlConnectionString="data source=127.0.0.1;Integrated Security=SSPI" with no change. will i need to configure sql server 2005 if i add this? – Mohan Sharma Oct 05 '10 at 05:55
  • @Mohan: you shouldn't have to reconfigure SQL Server at all. But I think you'd want `` instead. – Michael Petrotta Oct 05 '10 at 07:00

0 Answers0