Hello Raj! If you use cookies to maintain session state, you lose the session with mod_proxy/mod_rewrite in Apache, as long as you *don't* map the Apache httpd's path exactly as the servlet's.
Since "/mysite/" != "/cocoon/mysite/" in your case, this seems to be the problem. In http://wiki.cocoondev.org/Wiki.jsp?page=ApacheModProxy, Cal mentions this in a note (at the bottom of this excellent article). If this applies to your problem, my solution was to turn off cookies for maintaining session state, and instead use ";jsessionid"s and the encodeURL-transformer. I was not able to find this switch in later versions of Tomcat, but you can turn this off in Jetty, and since Cocoon (2.1->) currently ships "out-of-the-box" with Jetty, this proved to be a very good solution. Another solution would be to change the mapping to /cocoon/mysite/, but you probably have a reason for not doing so? Askild Aaberg Olsen - Rajasekhar Atchutuni wrote: > Hello all, > > We have a web site and it is redirected by Apache using mod > proxy which > works fine. > ProxyPass /mysite/ http://webserver.com:8080/cocoon/mysite/ > ProxyPassReverse /mysite/ http://webserver:8080/cocoon/mysite/ > > But under mysite we have another module which uses the sunshine > autentication. > so when I go to http://webserver/mysite/administration, I am > able to log in > but when I click on any link it logs me out and in the URL it > gives me this > address > http://webserver.com/mysite/admin-login.xml?resource=%2Fcocoon %2Fmysite%2Fadmin-viewPersonsFrame.xml But when I go to the site using http://webserver.com:8080/cocoon/mysite/admin-login.xml. I am able to log in and click on all the links. I am not sure why the %2Fcocoon is still being passed by the session. I am at sea, can someone guide me with this. Help appreciated. Thanks Raj _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- 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]