Click here to Skip to main content
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 2

  Permalink  
v2
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 CPallini 405
1 Sergey Alexandrovich Kryukov 262
2 OriginalGriff 165
3 George Jonsson 134
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,890
2 CPallini 5,175
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 30 May 2012
Copyright © CodeProject, 1999-2014
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