[ 
https://issues.apache.org/jira/browse/OFBIZ-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-1831.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Michael,

Your patch is in trunk rev. 670268  


> 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
>            Assignee: Jacques Le Roux
>            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.

Reply via email to