Login  Register

[jira] Created: (OFBIZ-128) HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled

Posted by Nicolas Malin (Jira) on Aug 01, 2006; 3:14pm
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-128-HtmlFormRender-doesn-t-render-next-and-prev-url-with-jsessionid-when-session-d-tp170284.html

HtmlFormRender doesn't render next and prev url with jsessionid when session cookies are disabled
-------------------------------------------------------------------------------------------------

                 Key: OFBIZ-128
                 URL: http://issues.apache.org/jira/browse/OFBIZ-128
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: Linux, jdk-1.5-sun
            Reporter: Peter Goron
            Priority: Minor


Urls generated by renderNextPrev method for next and previous pagination buttons do not include ";jsessionid=..." when session cookies are disabled. So clicking on one of this button causes the session to be lost.

This issue is due to the use of rh.makeLink with six arguments :
rh.makeLink(request, response, linkText, false, false, false)

The last one should be set to true to allow generation of jsessionid when cookies are disabled.


This issue is only reproducible when tomcat is setup to no send session cookie and forceManualJSessionId variable is set to true in rh.makeLink method body.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira