Re: Renew IIS session with an image request?
From: George Hester (hesterloli_at_hotmail.com)
Date: 10/12/04
- Next message: David Wang [Msft]: "Re: Unable to execute CGI app"
- Previous message: David Wang [Msft]: "Re: Connect to IIS from another Pc"
- In reply to: Tom Kaminski [MVP]: "Re: Renew IIS session with an image request?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 11 Oct 2004 23:11:13 -0400
I have the same situation but it is not as mission critical as the OPs. After reading these posts I got to thinking. We can use a Response.BinaryWrite in a ASP. This bmp can be as small as 1px. Then in the ASP that we are using for the application we could JavaScript a call to it periodically. The src attributes width and height we could set to 0. That would replenish the Session and put actually nothing in the ASP that calls it. Probably a better way but just an idea.
-- George Hester __________________________________ "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message news:cke2gl$qah3@kcweb01.netnews.att.com... > "A Traveler" <hitchhikersguideto-news@yahoo.com> wrote in message > news:eQlTKY5rEHA.1152@TK2MSFTNGP11.phx.gbl... > > Hello, > > > > Given that a particular iis server has its session timeout set to the > > default of 20mins, what will renew the request in order to prevent it > > timing out? Is it only code-type things, such as ASP[X] pages, or will > > requesting an image file renew the session? > > > > We have an app for warehouse order entry, and some of the orders can be > > very long. So we want to put something on the order entry page to renew > > the session and keep the user from losing their work. Originally i was > > thinking a small iframe which would be hidden and just request some empty > > page every 5 minutes. If an image request will renew the session though, > > then i can simply have an image tag with some javascript to rotate the src > > attribute. > > > > Will that work, or do i need to actually run code of some sort against the > > server? > > You need to request an ASP to renew the session. > > -- > Tom Kaminski IIS MVP > http://www.microsoft.com/windowsserver2003/community/centers/iis/ > http://mvp.support.microsoft.com/ > http://www.iisfaq.com/ > http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS > http://www.tryiis.com > >
- Next message: David Wang [Msft]: "Re: Unable to execute CGI app"
- Previous message: David Wang [Msft]: "Re: Connect to IIS from another Pc"
- In reply to: Tom Kaminski [MVP]: "Re: Renew IIS session with an image request?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|