tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Collins, Jim" <jim.coll...@uk.nomura.com>
Subject Host/Serve name problem.
Date Wed, 29 May 2002 14:00:18 GMT
Hi this may be of interest. 

I am running Apache 1.3.24 and TC4. Users of my application are
authenticated against LDAP. In the app I have 3 frames and I used to set the
src of the frames based on the server name. This used to work fine but when
I upgraded I had to login twice the reason was the main window was
www.mycomp.com:8000 but the frames were serverName:8000 and the browser
thought they were two different sites and asked me to login again.

I then created a virtual host thinking this would fix the problem but it did
not. So what I next did was call request.getHeader("Host") instead of
"request.getServerName() plus the port" . This works fine now.

Regards

Jim.


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message