httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A.P Kwee" <...@hdbay.com>
Subject Re: Unique session ID upon URL rewrite
Date Thu, 22 Aug 2002 10:00:25 GMT
Thanks DW for the prompt reply!

Managed to find a walkaround for my problem. This is all due to the 
tighter restrictions frmo the servlet specs v2.2. For more info, go to 
this site:

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html#error_rewrite_usedto

Best Regards,
Ann Peng

Dirk-Willem van Gulik wrote:

>You are propably 'loosing' the sessionid which is either the cookie in the
>Header (the Cookie:  header line) or a cookie in the URI somehow; -or-
>when you display the HTML the links in that page do not contain the
>session id and/or the returned page does not set the cookie properly.
>
>You may want to use 'telnet www.foo.com 80' to check this:
>
>	http://www.cs.ucsd.edu/classes/wi97/cse80/lec15/
>
>and verify exactly where the session ID ends up.
>
>Dw.
>
>On Wed, 21 Aug 2002, A.P Kwee wrote:
>
>>|**|Hi,
>>
>>I hope that this is the right channel to post this question.
>>
>>I am trying to force all requests for *.html pages to a jsp file which
>>will perform some checks on whether the users has logged on before
>>displaying the html file.
>>
>>I have successfully redirected all request from my apache webserver to
>>my tomcat using mod_rewrite but I am facing this problem that every
>>request that gets rewritten to the jsp file is a unique session id. I've
>>verified this by doing a println for the sessionid.
>>
>>I would appreciate greatly if anyone can share some light on my problem.
>>
>>Thks and Best Regards,
>>Ann Peng
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message