Custom JSP taglib lets presents a very simple method that can be used to keep a session alive.
Sometimes it takes to long to fill out a form or the user can leave the application window opened and comes back after a while. In other words the
session could expire before the next request from the page will come in. This taglib lets your JSP (Coldfusion) page provide
the permanents requests to the server directly from the client.
<%@ taglib uri="taglib.tld" prefix="k" %> <k:KeepSession/> Tags are: KeepSession Body tag lets your page provide permanents requests to the server side (keep a session alive). Parameters are: 1) timeout Optional attribute. Describes a timeout for the requests in seconds.
Default value is 120.
for downloading: Library: keepsessiontag.jar Description: taglib.tld Image: keepsession.gif See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|