On Sat, 2011-12-31 at 00:33 -0600, Jerry Malcolm wrote:
> I have a web app that's worked for years.  I had to go in and do some
> renovations on it due to a few new requirements.  Now for some reason, I'm
> getting a new/different session id for each page.  It's easy to see that's
> what happening since I use the sessionid for a log file name.  Where I used
> to get one log file when clicking through a series of pages, I now get a
> bunch of logging files.  This is a problem since I store data in the
> session object between pages. And now the pages cannot find the data.  This
> is on TC 7.
> 
> The only major thing I'm doing differently now that I can figure might
> affect it is I'm using mod_rewrite in apache httpd.  But I'm grasping at
> straws.  I really don't see how mod_rewrite would be preventing session
> data from passing through.  Or could it?
> 
> The way I understand it, it's simply a session key that's passed back and
> forth as a cookie, right?
> 

The session ID could also be embedded in the URL and perhaps mod_rewrite
is dropping it.  You could compare the access logs in httpd vs tomcat
(enable them in tomcat if necessary).


> Any ideas why I'm losing my sessions on each page?
> 
> Thx
> 
> Jerry

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to