/[Apache-SVN]
ViewVC logotype

Revision 798025


Jump to revision: Previous Next
Author: lektran
Date: Mon Jul 27 05:02:19 2009 UTC (14 years, 8 months ago)
Changed paths: 2
Log Message:
Added a new ServletContext parameter "forceHttpSession" that when set to true forces the JSESSIONID cookie to be sent via http

This resolves an issue in the ecommerce app where if the initial request to the app is an https request then the session cookie is available via https only.  
Subsequently if at any point the user switches to http then the session is lost along with any data such as the shopping cart.

The solution involves checking if the request is an https request and if the session is new then the user is redirected to an http version of the request.  
The session cookie is then sent along with the http response which will either be the page requested if the request doesn't require https or otherwise another
redirect back to the https version.

Changed paths

Path Details
Directoryofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java modified , text changed
Directoryofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26