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

Antonio Petrelli updated TILES-207:
-----------------------------------

    Attachment: patch.diff

Added a changed proposed patch, that shows how to create a session when needed.

> Do not create sessions in ServletTilesRequestContext
> ----------------------------------------------------
>
>                 Key: TILES-207
>                 URL: https://issues.apache.org/struts/browse/TILES-207
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.4
>         Environment: CentOS 5, Struts 2 with Tiles 2 plugin
>            Reporter: Neil Aggarwal
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>         Attachments: patch.diff
>
>
> ServletTilesRequestContext calls request.getSession() instead of 
> request.getSession(false) and will therefore create a new session if one does 
> not exist.  It should check an existing session, but should not create one.

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