Have you tried calling getRemoteUser() on the HttpRequest object? If the authentication for MySQL is done with basic auth style authentication, the the user should be set and passed to tomcat.
You can use that to query the rest of the data from the database. If you want to pass more data in, you will need to write a CGI on the web server to make a URL containing the data and redirect to it. You may also be able to set it in a COOKIE and let the web browser pass it back to the app server. Byron -----Original Message----- From: Yassine ELassad [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 7:13 AM To: [email protected] Subject: Apache2.x and Tomcat5.0.x & Session' data hi everyone, i was just wondering how i can pass user's session data from Apache to Tomcat and visversa: an example: Im restricting access to a directory secret/* with Apache Authentication on Mysql (AAOM) Inside that directory ther is a link to one of my servlets what i want is to pass the user's data already collected after the log in against AAOM (username, etc ...) to that servlet ill be glade for any ideas how i can perform this ps im using mod_jk which mean im using tomcat only as a servlet container behind apache since the most data iam serving is a static data Thanks in Advance Sincerly Yassine ELassad __________________________________________________ Verpassen Sie keine eBay-Auktion und bieten Sie bequem und schnell über das Telefon mit http://www.telefonbieten.de Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag eMail, FAX, SMS, VoiceMail mit http://www.directbox.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
