473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Session.Timeout

hi everyone,

I changed the login session timeout from default 20 to 30 minutes, like
following:
Session.Timeout = 30

But it doesn't work. I logged into my webpage, let it be inactived for 25
mins, and clicked on some links but the session expires already. Any one has
cues? I put this line on the check login file after checking submitted
username and password and before defining all session variables.
Dec 30 '05 #1
4 2762

The Session.Timeout should be placed in all the asp files that are used
after login and not in the login file.

"Vanessa" <Va*****@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com...
hi everyone,

I changed the login session timeout from default 20 to 30 minutes, like
following:
Session.Timeout = 30

But it doesn't work. I logged into my webpage, let it be inactived for 25
mins, and clicked on some links but the session expires already. Any one has cues? I put this line on the check login file after checking submitted
username and password and before defining all session variables.

Jan 1 '06 #2
you can always place session.timeout on global.asa (session_start) file
on your website root

with this technic when a user enters in the website, the IIS give to
his session the session.timeout on global.asa... you do not need to add
it to all your single pages...

session.lcid is most used in global.asa to. :-)

Jan 5 '06 #3
I have tried putting session.timeout=30 in one of my asp files for testing
but it still kicked me out after like 15-20 mins.

And then I checked my global.asa file, it has session.timeout=120, but
obviously it doesn't work as well!

Any Help Please.....

"Bruno Alexandre" wrote:
you can always place session.timeout on global.asa (session_start) file
on your website root

with this technic when a user enters in the website, the IIS give to
his session the session.timeout on global.asa... you do not need to add
it to all your single pages...

session.lcid is most used in global.asa to. :-)

Feb 1 '06 #4
=?Utf-8?B?VmFuZXNzYQ==?= wrote on 01 feb 2006 in
microsoft.public.inetserver.asp.general:
you can always place session.timeout on global.asa (session_start) file
on your website root

[please do not toppost on usenet]
I have tried putting session.timeout=30 in one of my asp files for
testing but it still kicked me out after like 15-20 mins.
Please show the code
And then I checked my global.asa file, it has session.timeout=120, but
obviously it doesn't work as well!


Please show the code, where you did put this.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Geigho | last post by:
Setting session timeout in web.config file does not seem to have any effect. Any explanation or suggestion will be appreciated.
4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
8
by: Joe Abou Jaoude | last post by:
hi, I have a web app with forms authentication and a timeout session of 20 mins for security reasons. I recently added a feature that allows users (if they want to) to automatically log in...
11
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
5
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
17
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
4
by: UJ | last post by:
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
6
by: ChrisAtWokingham | last post by:
I have been struggling with unexpected error messages on an ASP.NET system, using SQL and C#. The application draws organisation charts, based on data stored in the SQL database. Some of the chart...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.