[
https://issues.apache.org/jira/browse/OFBIZ-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Brohl updated OFBIZ-1831:
---------------------------------
Summary: Configure cookie use for a module through the ofbiz-component.xml
(was: Configure cooky use for a module through the ofbiz-component.xml)
> Configure cookie use for a module through the ofbiz-component.xml
> -----------------------------------------------------------------
>
> Key: OFBIZ-1831
> URL: https://issues.apache.org/jira/browse/OFBIZ-1831
> Project: OFBiz
> Issue Type: New Feature
> Components: ALL COMPONENTS
> Affects Versions: SVN trunk
> Reporter: Michael Brohl
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: framework_cookies.patch
>
>
> Sometimes it could be necessary to disable the use of cookies for a module
> (e.g. ecommerce) and have the session id be rendered into the url. Currently
> Tomcat switches to this behaviour if cookies are disabled at the CLIENT. The
> following patch makes this configurable by a new configuration option in
> ofbiz-component.xml.
> How to use:
> Just add
> session-cookie-accepted="false"
> to the webapp tag in the ofbiz-component-xml, e.g.
> <ofbiz-component name="ecommerce"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
> [...]
> <webapp name="ecommerce"
> title="eCommerce"
> server="default-server"
> location="webapp/ecommerce"
> mount-point="/ecommerce"
> app-bar-display="false"
> session-cookie-accepted="false"/>
> </ofbiz-component>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.