-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ajay,

On 11/23/2010 4:15 PM, Aggarwal, Ajay wrote:
> I am little reluctant to use HttpSession.setMaxInactiveInterval() for
> couple of reasons:
> 
> 1) I don't know ahead of time how long these operations will take. So
> I don't have a good value to set the MaxInactiveInterval to.

That will certainly be problematic.

> 2) I need to design for my clients crashing or losing connectivity
> with me. So I can't use a negative value either (i.e. never
> expires).

That makes sense.

Have you considered an asynchronous response model? Perhaps a single
HTTP request-response isn't the best way to implement your service.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzsM6YACgkQ9CaO5/Lv0PAJvwCfRGloFQ8aTNSvwHjML8MTk9f/
fnwAn2ITyT6iACIaV3WaH3V4f+awX210
=770y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to