Title:
[ANeff] Bug for: CF sessions vs J2EE sessions (session loss) when using urlSessionFormat()
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 11/08/2014
Components: Core Runtime, Session Management
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Normal / Few users will encounter
Locale/System: English / Win All
Vote Count: 0
Sessions are maintained w/ CF sessions but not maintained w/ J2EE sessions in 3 scenarios.
Repro:
1) <a href="#urlSessionFormat('')#" target="_blank">open current page into new tab/window</a>
With CF sessions (expected and actual - good): <a href="?CFID=X&CFTOKEN=Y" target="_blank">
With J2EE sessions (expected): <a href=";jsessionid=X" target="_blank">
With J2EE sessions (actual - bad): <a href="http://www.foo.com/;jsessionid=X" target="_blank">
To fix: Revert to pre-CF11 behavior b/c this is a regression and the _only_ case when urlSessionFormat() includes the scheme and domain.
2) <a href="#urlSessionFormat('##anchor')#" target="_blank">open current page into new tab/window and jump to anchor</a>
With CF sessions (expected and actual - good): <a href="?CFID=X&CFTOKEN=Y#anchor" target="_blank">
With J2EE sessions (expected): <a href=";jsessionid=X#anchor" target="_blank">
With J2EE sessions (actual - bad): <a href="#anchor" target="_blank">
To fix: If urlSessionFormat()'s parameter begins w/ a #, then prepend jsessionid to the #.
3) <a href="#urlSessionFormat('?param=value')#" target="_blank">open current page into new tab/window w/ parameters</a>
With CF sessions (expected and actual - good): <a href="?param=value&CFID=X&CFTOKEN=Y" target="_blank">
With J2EE sessions (expected): <a href=";jsessionid=X?param=value" target="_blank">
With J2EE sessions (actual - bad): <a href="?param=value" target="_blank">
To fix: If urlSessionFormat()'s parameter begins w/ a ?, then prepend jsessionid to the ?.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3849152
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: