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 / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Maintaining the Session

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kempshall - 07 Mar 2006 21:09 GMT
I have a web application that contains a Java applet that uploads and
downloads files between a client and server. My application is set to
timeout the current session after 30 minutes (i.e. in web.config,
there's <sessionState timeout="30">). Unfortunately, if someone is
uploading or downloading a file that takes more than 30 minutes, the
session times out. Is there any way to get .NET to recognize that data
is being transferred between the client and server and not timeout
unless there's 30 minutes without any data transfer?

Thanks,

Jay
Cowboy (Gregory A. Beamer) - MVP - 08 Mar 2006 13:48 GMT
Using standard web mechanisms? None that I know of other than further
extending the timeout, which has other issues. You could push the
upload/download functionality to a subweb that has a longer timeout, but that
just puts a bandaid on the problem.

Timeouts are the reason so many companies have gone to downloaders that use
something other than HTTP transfer for downloading their apps, updates, etc.
Moving file download to FTP is another option.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

> I have a web application that contains a Java applet that uploads and
> downloads files between a client and server. My application is set to
[quoted text clipped - 8 lines]
>
> Jay

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.