Click here to Skip to main content
11,581,130 members (64,689 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
I tried all this suggestion but its not working till gets expired in 20r 3 minutes.


plz help!...


Actually I hosted website but in that i found problem that after few minutes my log in session gets expired and automatically comes to log in page so how can i increase session time of log in page.


so help me out to resolve this problem...
Posted 27-May-12 21:06pm
Edited 29-May-12 20:46pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

see this link you may get some idea
Alert Session Time out in ASP.NET[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 8

This answer by Mr. Prasad_Kulkarni on this link is pretty awesome. check that out.

session time handling[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

set the session out time web.config
<connectionstrings>
<add connectionstring="Server=.\SQLEXPRESS;Database=database name;Integrated Security=true" name="ConnectionString">Timeout=45/>
</add></connectionstrings>


Timeout=45 there are set the time
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

Refer these link..........
[^]
[^]
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 7

in web config insert this line in system.web element

<sessionstate timeout="60" />

i give you link i think that will help you

Exploring Session in ASP.NET[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 210
1 Frankie-C 195
2 Sergey Alexandrovich Kryukov 85
3 F-ES Sitecore 80
4 Andy Lanng 75
0 OriginalGriff 1,108
1 Sergey Alexandrovich Kryukov 785
2 Abhinav S 622
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 30 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100