You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Trieloff (JIRA)" <ji...@apache.org> on 2007/10/20 01:11:52 UTC

[jira] Updated: (SLING-73) Session is not saved for POST scripts nor is it made available to the script

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

Lars Trieloff updated SLING-73:
-------------------------------

    Attachment: microsling-save-session-on-post.patch

This patch saves the session after processing an unsafe request. Additionally it changes the javadoc to actually match the behavior of the code.

> Session is not saved for POST scripts nor is it made available to the script
> ----------------------------------------------------------------------------
>
>                 Key: SLING-73
>                 URL: https://issues.apache.org/jira/browse/SLING-73
>             Project: Sling
>          Issue Type: Bug
>          Components: microsling
>            Reporter: Lars Trieloff
>         Attachments: microsling-save-session-on-post.patch
>
>
> POST scripts (e.g. attached POST.js) cannot have side-effects because the session is not saved after processing the script. Unfortunately the session is not made available to the script so the script cannot save the session itself (which I would consider an ugly workaround).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.