You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2013/05/16 15:27:19 UTC

[jira] [Comment Edited] (WICKET-5191) Session is created unnecessarily

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

Andrea Del Bene edited comment on WICKET-5191 at 5/16/13 1:27 PM:
------------------------------------------------------------------

In addition your home page is stateless and this kind of page creates a temporary session each time is requested (if user doesn't already own a permanent session).
                
      was (Author: bitstorm):
    In addition your home page is stateless and such a page creates a temporary session each time is requested (if user doesn't already own a permanent session).
                  
> Session is created unnecessarily
> --------------------------------
>
>                 Key: WICKET-5191
>                 URL: https://issues.apache.org/jira/browse/WICKET-5191
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.6.0
>            Reporter: Michael Zhavzharov
>            Priority: Minor
>         Attachments: multiple_session.zip
>
>
> PageRenderer#getSessionId() should check for existence of a Session, otherwise session could creates multiple types. 
> For example if we mount home page, and starts an app, it will creates session 2 times, because of redirect, I think.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira