Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004775 [Resin] minor always 09-22-11 10:42 11-10-11 12:31
Reporter rickHigh View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004775: Wrong session id in JSP template
Description
On action entry: request.getSession() -> SessionImpl[aaaHwRSerRnffaE41Jqkt,]
Just before action exit: > request.getSession() -> SessionImpl[aaaHwRSerRnffaE41Jqkt,]
From JSP template: > r equest.getSession() -> SessionImpl[aaaqgA1FT9DTo6YE2Jqkt,]

Session id is different.

Yet in the same template when using URL rewrite they get:

> <a href="/do/addresses/mfilters;jsessionid=aaaHwRSerRnffaE41Jqkt" accesskey="2">

aaaHwRSerRnffaE41Jqkt= aaaHwRSerRnffaE41Jqkt


Somehow the JSP template has the wrong session, yet URL rewrite is still working.
Additional Information
Attached Files  Resin 4.0.19 Pro_ url-rewriting & JSP code see different sessions?!.eml [^] (20,261 bytes) 10-20-11 21:24

- Relationships

- Notes
(0005528)
jkeays
09-30-11 19:01

Any chance someone will get assigned this soon?

It is having a significant impact for us.
 
(0005570)
ferg
10-20-11 14:54

Do you have a simple flow for this, including any filtering?

I'm having trouble reproducing this with filters and JSPs.
 
(0005573)
jkeays
10-20-11 21:21

This occurs in the context of a Struts application, if that helps at all.

log statements just before return of Action -> RIGHT session
session available to templates -> WRONG session (new, empty)
but, url-rewriting performed by resin -> RIGHT session

Also, this is not reproducible unless

  <enable-cookies>false</enable-cookies>

is in session-config. We are forced to use this setting for browser compatibility. (think ancient cellphones)
 
(0005574)
jkeays
10-20-11 21:25

uploaded original email, in case it wasn't available, as it contains more detail than the summary.
 
(0005602)
alex
10-31-11 15:24

I couldn't reproduce this. Can you set logging level to finer and try your test please. Please forward us the logs via email.
 
(0005608)
alex
11-10-11 12:31

server/01re, server/01rf
 

- Issue History
Date Modified Username Field Change
09-22-11 10:42 rickHigh New Issue
09-25-11 18:48 akawaguc Issue Monitored: akawaguc
09-30-11 18:59 jkeays Issue Monitored: jkeays
09-30-11 19:01 jkeays Note Added: 0005528
10-20-11 14:54 ferg Note Added: 0005570
10-20-11 21:21 jkeays Note Added: 0005573
10-20-11 21:24 jkeays File Added: Resin 4.0.19 Pro_ url-rewriting & JSP code see different sessions?!.eml
10-20-11 21:25 jkeays Note Added: 0005574
10-31-11 15:24 alex Note Added: 0005602
11-10-11 12:30 alex Status new => assigned
11-10-11 12:30 alex Assigned To  => alex
11-10-11 12:31 alex Status assigned => closed
11-10-11 12:31 alex Note Added: 0005608
11-10-11 12:31 alex Resolution open => fixed
11-10-11 12:31 alex Fixed in Version  => 4.0.24


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
45 total queries executed.
34 unique queries executed.
Powered by Mantis Bugtracker