[ 
https://issues.apache.org/jira/browse/WICKET-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530591
 ] 

John Ray commented on WICKET-824:
---------------------------------

Oops. Sorry I gave a bad example. The page in my app has some bookmarkable URLs 
(at the top in a nav bar) as well as some stateful URLs in the page. The 
bookmarkable ones in the nav bar are missing the session ID.

I agree with you and don't like the idea of binding a session by default. But 
then it leads to the strange behavior where bookmarkable pages in the header of 
a page do not have session IDs but those in the footer do. Assuming there are 
some stateful URLs in the middle of course.

> Session id encoding problem in cookie-less mode
> -----------------------------------------------
>
>                 Key: WICKET-824
>                 URL: https://issues.apache.org/jira/browse/WICKET-824
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>         Environment: Tomcat 5.5.23, OS X
>            Reporter: Roland Foerther
>            Assignee: Alastair Maw
>            Priority: Critical
>             Fix For: 1.3.0-beta4
>
>         Attachments: Fix.diff
>
>
> If I disable session cookies, the URL-encoding does not work. The problem 
> appears in displaying 'page expired' when I click through 'wicket-exmples' . 
> I discovered that HttpServletResponse.encodeUrl() called by 
> WebRequestCodingStrategy.encode() does not encode the session id, if it is 
> called with a relative URL like 
> `?wicket:interface=:0:inputForm:IFormSubmitListener::'. i.e.. starting with 
> '?'.   

-- 
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