----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello,

Environment:
Apache 1.3.12, Apache JServ 1.1 on Win NT

Problem:
I am experimenting with Session management with cookies using the Servlet
API.The scenario is that if an un-authenticated user tries to invoke a
protected servlet he will be prompted to give his user-name and password.If
he is successfully authenticated, will be redirected to the servlet he
previously asked for.Here both the log-in credentials and the target servlet
information are stored as session objects. 
This is working pretty well with Internet Explorer 4.0. But with Netscape
communicator 4.5 it is not working.
The same application I tried with Java web server and Netscape communicator
4.5,it's working pretty well.
So there seems to be some compatibility problem with Apache and Netscape
communicator versions that I am using as far as session management with
cookies is concerned
Please let me know what the problem is and should I make any configuration
changes?

When I use the Netscape communicator 4.5,apache access.log looks like:

180.144.62.87 - - [20/Jun/2000:17:00:15 +0530] "GET
/servlets/ProtectedResource HTTP/1.0" 302 284
180.144.62.87 - - [20/Jun/2000:17:00:15 +0530] "GET /login.html HTTP/1.0"
304 -
180.144.62.87 - - [20/Jun/2000:17:00:32 +0530] "POST /servlets/LoginHandler
HTTP/1.0" 302 273
180.144.62.87 - - [20/Jun/2000:17:00:32 +0530] "GET / HTTP/1.0" 304 -
180.144.62.87 - - [20/Jun/2000:17:00:32 +0530] "GET /images/mainback.gif
HTTP/1.0" 304 -
180.144.62.87 - - [20/Jun/2000:17:00:33 +0530] "GET /splash.jpg HTTP/1.0"
304 -
180.144.62.87 - - [20/Jun/2000:17:00:33 +0530] "GET /s_ba_bl.gif HTTP/1.0"
304 -
180.144.62.87 - - [20/Jun/2000:17:00:33 +0530] "GET /welcome.gif HTTP/1.0"
304 -
180.144.62.87 - - [20/Jun/2000:17:00:33 +0530] "GET /p_balken.gif HTTP/1.0"
304 -

When I use the Internet Explorer 4.0,apache access.log looks like:

180.144.62.87 - - [20/Jun/2000:17:00:49 +0530] "GET
/servlets/ProtectedResource HTTP/1.1" 302 296
180.144.62.87 - - [20/Jun/2000:17:00:49 +0530] "GET /login.html HTTP/1.1"
304 -
180.144.62.87 - - [20/Jun/2000:17:00:59 +0530] "POST /servlets/LoginHandler
HTTP/1.1" 302 309
180.144.62.87 - - [20/Jun/2000:17:00:59 +0530] "GET
/servlets/ProtectedResource HTTP/1.1" 200 234
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "POST /servlets/LogoutServlet
HTTP/1.1" 302 285
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "GET / HTTP/1.1" 200 2651
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "GET /images/mainback.gif
HTTP/1.1" 304 -
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "GET /splash.jpg HTTP/1.1"
304 -
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "GET /welcome.gif HTTP/1.1"
304 -
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "GET /p_balken.gif HTTP/1.1"
304 -
180.144.62.87 - - [20/Jun/2000:17:01:08 +0530] "GET /s_ba_bl.gif HTTP/1.1"
304 -

There seems to be a change in the HTTP versions being used in each case.
Any solutions/help would be greatly appreciated.
Thanks in advance,
Anil


Anil B.R
Engineer, Software Development
Siemens Public Communication Networks Ltd.
25/2, M.G Road, Bangalore, India.
Tel         : +91-80-5594067   Extn:4527
Fax         : +91-80-5594369
mailto:[EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to