473,322 Members | 1,620 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,322 software developers and data experts.

timeout

I wrote a small application in ASP.NET for my office. It's used in intranet.
The users are about 30 persons.
After a while they started complayning that after about 20 minutes the
application
logs them off (wich is the default value of an APS application I think).
They want to remain logged on for all the 8 hours they work.
I tryed to modify some parameters but I couldn't change the result.
In Web.Config I inserted
<sessionState timeout="480"/>
then
IIS -My Application -Property -ASP.NET -Modify Configuartion ->
State management -Session timeout minutes: 480
and also
IIS -My Application -Property -Virtual Directtory -Configuration ->
Options -timeout session -480 minutes

Can someone help me?

Thanks

Agos
Oct 6 '07 #1
5 1713
How are you handling the logins, do you use microsoft membership provider? or
did you build your own login control?

If you use the membership provider to login the users then this page should
help you:
http://msdn2.microsoft.com/en-us/library/ms998347.aspx
"Agos" wrote:
I wrote a small application in ASP.NET for my office. It's used in intranet.
The users are about 30 persons.
After a while they started complayning that after about 20 minutes the
application
logs them off (wich is the default value of an APS application I think).
They want to remain logged on for all the 8 hours they work.
I tryed to modify some parameters but I couldn't change the result.
In Web.Config I inserted
<sessionState timeout="480"/>
then
IIS -My Application -Property -ASP.NET -Modify Configuartion ->
State management -Session timeout minutes: 480
and also
IIS -My Application -Property -Virtual Directtory -Configuration ->
Options -timeout session -480 minutes

Can someone help me?

Thanks

Agos
Oct 7 '07 #2
IIS's session state configuration does not affect ASP.NET (until in Vista
where ASP.NET and IIS is better integrated)

If you have already set session timeout, are you using forms authentication?
It has its own timeout as well.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Agos" <ag**************@fastwebnet.itwrote in message
news:uZ****************@tornado.fastwebnet.it...
>I wrote a small application in ASP.NET for my office. It's used in
intranet.
The users are about 30 persons.
After a while they started complayning that after about 20 minutes the
application
logs them off (wich is the default value of an APS application I think).
They want to remain logged on for all the 8 hours they work.
I tryed to modify some parameters but I couldn't change the result.
In Web.Config I inserted
<sessionState timeout="480"/>
then
IIS -My Application -Property -ASP.NET -Modify Configuartion ->
State management -Session timeout minutes: 480
and also
IIS -My Application -Property -Virtual Directtory ->
Configuration -Options -timeout session -480 minutes

Can someone help me?

Thanks

Agos

Oct 7 '07 #3

"Teemu Keiski" <jo****@aspalliance.comha scritto nel messaggio
news:ee**************@TK2MSFTNGP06.phx.gbl...
IIS's session state configuration does not affect ASP.NET (until in Vista
where ASP.NET and IIS is better integrated)

If you have already set session timeout, are you using forms
authentication? It has its own timeout as well.
=========================================
Thank you Teemu,
yes I'm using form authentication.
I think you are talking about timeout cookie in IIS-My Application ->
Properties -ASP.NET -Modify configuration -Authentication -Timeout
cookie

or is it just a parameter I should put in Web.Config?

Thaks again

bye bye

Agos
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Agos" <ag**************@fastwebnet.itwrote in message
news:uZ****************@tornado.fastwebnet.it...
>>I wrote a small application in ASP.NET for my office. It's used in
intranet.
The users are about 30 persons.
After a while they started complayning that after about 20 minutes the
application
logs them off (wich is the default value of an APS application I think).
They want to remain logged on for all the 8 hours they work.
I tryed to modify some parameters but I couldn't change the result.
In Web.Config I inserted
<sessionState timeout="480"/>
then
IIS -My Application -Property -ASP.NET -Modify Configuartion ->
State management -Session timeout minutes: 480
and also
IIS -My Application -Property -Virtual Directtory ->
Configuration -Options -timeout session -480 minutes

Can someone help me?

Thanks

Agos


Oct 7 '07 #4
Ah, from there yes it is ASP.NET affecting configuration. Yes you should
tweak authentication timeout as well in taht case. It defaults to 20 or 30
minutes.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Agos" <ag**************@fastwebnet.itwrote in message
news:jT*****************@tornado.fastwebnet.it...
>
"Teemu Keiski" <jo****@aspalliance.comha scritto nel messaggio
news:ee**************@TK2MSFTNGP06.phx.gbl...
>IIS's session state configuration does not affect ASP.NET (until in Vista
where ASP.NET and IIS is better integrated)

If you have already set session timeout, are you using forms
authentication? It has its own timeout as well.
=========================================
Thank you Teemu,
yes I'm using form authentication.
I think you are talking about timeout cookie in IIS-My Application ->
Properties -ASP.NET -Modify configuration -Authentication -Timeout
cookie

or is it just a parameter I should put in Web.Config?

Thaks again

bye bye

Agos
>Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Agos" <ag**************@fastwebnet.itwrote in message
news:uZ****************@tornado.fastwebnet.it.. .
>>>I wrote a small application in ASP.NET for my office. It's used in
intranet.
The users are about 30 persons.
After a while they started complayning that after about 20 minutes the
application
logs them off (wich is the default value of an APS application I think).
They want to remain logged on for all the 8 hours they work.
I tryed to modify some parameters but I couldn't change the result.
In Web.Config I inserted
<sessionState timeout="480"/>
then
IIS -My Application -Property -ASP.NET -Modify Configuartion ->
State management -Session timeout minutes: 480
and also
IIS -My Application -Property -Virtual Directtory ->
Configuration -Options -timeout session -480 minutes

Can someone help me?

Thanks

Agos



Oct 7 '07 #5
It works, thank you very much :-)

bye

Agos
"Teemu Keiski" <jo****@aspalliance.comha scritto nel messaggio
news:%2****************@TK2MSFTNGP04.phx.gbl...
Ah, from there yes it is ASP.NET affecting configuration. Yes you should
tweak authentication timeout as well in taht case. It defaults to 20 or 30
minutes.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Agos" <ag**************@fastwebnet.itwrote in message
news:jT*****************@tornado.fastwebnet.it...
>>
"Teemu Keiski" <jo****@aspalliance.comha scritto nel messaggio
news:ee**************@TK2MSFTNGP06.phx.gbl...
>>IIS's session state configuration does not affect ASP.NET (until in
Vista where ASP.NET and IIS is better integrated)

If you have already set session timeout, are you using forms
authentication? It has its own timeout as well.
=========================================
Thank you Teemu,
yes I'm using form authentication.
I think you are talking about timeout cookie in IIS-My Application ->
Properties -ASP.NET -Modify configuration -Authentication ->
Timeout cookie

or is it just a parameter I should put in Web.Config?

Thaks again

bye bye

Agos
>>Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Agos" <ag**************@fastwebnet.itwrote in message
news:uZ****************@tornado.fastwebnet.it. ..
I wrote a small application in ASP.NET for my office. It's used in
intranet.
The users are about 30 persons.
After a while they started complayning that after about 20 minutes the
application
logs them off (wich is the default value of an APS application I
think).
They want to remain logged on for all the 8 hours they work.
I tryed to modify some parameters but I couldn't change the result.
In Web.Config I inserted
<sessionState timeout="480"/>
then
IIS -My Application -Property -ASP.NET -Modify
Configuartion -State management -Session timeout minutes: 480
and also
IIS -My Application -Property -Virtual Directtory ->
Configuration -Options -timeout session -480 minutes

Can someone help me?

Thanks

Agos



Oct 8 '07 #6

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

Similar topics

9
by: E Sullivan | last post by:
I am having a time out issue when multiple users are accessing the server. This time out does not happen all of the time. My understanding is that the time out value is actually set in two places....
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.
2
by: Greg Decos | last post by:
I am using forms authentication using a FormsAuthenticationTickets set to expire in 30 minutes and the ticket is added to the collection of cookies. I am not sure where the following values are...
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...
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...
22
by: Nick Craig-Wood | last post by:
Did anyone write a contextmanager implementing a timeout for python2.5? I'd love to be able to write something like with timeout(5.0) as exceeded: some_long_running_stuff() if exceeded:...
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
5
by: Masso | last post by:
Hallo to the group, my question is this: where i have to set timeout in a web application? If i set into sessionState with property Timeout="60", after 20 minutes the session is over. Always...
2
by: JimLad | last post by:
Hi, I've got a very basic asp.net page that accesses a very slow db query and siplays to screen. I'm hitting a timeout aftre about 3.5 to 4.5 minutes - seems to be variable. SQL connection...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.