Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

timeout

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Agos - 06 Oct 2007 21:11 GMT
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
Patrick F - 07 Oct 2007 12:20 GMT
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

> I wrote a small application in ASP.NET for my office. It's used in intranet.
> The users are about 30 persons.
[quoted text clipped - 17 lines]
>
> Agos
Teemu Keiski - 07 Oct 2007 12:21 GMT
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.

Signature

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

>I wrote a small application in ASP.NET for my office. It's used in
>intranet.
[quoted text clipped - 18 lines]
>
> Agos
Agos - 07 Oct 2007 13:00 GMT
> 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
[quoted text clipped - 23 lines]
>>
>> Agos
Teemu Keiski - 07 Oct 2007 15:26 GMT
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.

Signature

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

>> IIS's session state configuration does not affect ASP.NET (until in Vista
>> where ASP.NET and IIS is better integrated)
[quoted text clipped - 43 lines]
>>>
>>> Agos
Agos - 08 Oct 2007 19:16 GMT
It works, thank you very much :-)

bye

Agos

> 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
[quoted text clipped - 48 lines]
>>>>
>>>> Agos

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.