ok - here is something ugly - off the top of my head. when a user submits without a cookie, or a cookie that u do not recognize: 1) Set-Cookie for the proper domain (i.e. .rhythym.com) 2) redirect them to the requested page, but with a fully qualified host/domain (i.e. http://www.rhythym.com/someLocation/)
Rasoul Hajikhani wrote: > Hello folks, > Yesterday I posted a question about PerlTransHandler and received a lot > of responses. Thanks to all of you who replied. However, my problem > persists. I try to be more precise in explaining the problem today. > My login module sets a few cookies that expire 24 hrs after they are > set. Upon each request the validity of the cookies is checked, and in > case of an expired cookie, the user is redirected to the login page to > resubmit username/password again. A request with a fully qualified URL, > example: http://myserver.mydomain.com/someLocation, has no problem > continuing. The cookies are set. However, in case the URL has the > ".domain.com" stripped, the login page is regenerated indefinitely. The > cookies never get set. > There were a few suggestions, such as using mod_rewrite, however that is > out of the question because mod_rewrite was not built with our http > server. My PerlTransHandler does not seem to be able to distinguish > myserver.domain.com/someLocation request with myserver/someLocation. > I appreciate any suggestions on this. > -r -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/