That's the way HTTP works. You browser connects to a web server when it
makes a request. And once it gets a response, it disconnects. The
connection, it creates, may be persistent (default with HTTP/1.1) though.
But servers generally timeout after being idle for sometime. So what you
are looking for in terms of consistent or persistent connections may not be
guaranteed this way. You should consider using sessions in your servlet or
jsp (that is if you just want to persist the user state) or maybe use
sockets (may run into firewall/security issues)

RS





"Stuart Stephen" <[EMAIL PROTECTED]> on 04/09/2002 07:41:22 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  RE: HTTP Tunnel (a response please????)



-----Original Message-----
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: 08 April 2002 22:16
To: Tomcat Users List
Subject: HTTP Tunnel


Hi everybody,

I'm looking to make an HTTP tunnel servlet or jsp page that will keep the
user connected consistently rather than it disconnecting and re-connecting
each time a request is sent. Could anyone help me out here?

Stuart


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to