You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/09/07 20:34:34 UTC

[jira] Resolved: (TILES-207) Do not create sessions in ServletTilesRequestContext

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

Antonio Petrelli resolved TILES-207.
------------------------------------

    Resolution: Fixed

Now the session is created only when necessary, i.e. when someone tries to add an attribute in session.

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