[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-dev
Subject: [jira] Commented: (COCOON-2194) Session-attr set in dependency
From: Thomas_Müller_(JIRA) <jira () apache ! org>
Date: 2009-05-22 18:20:45
Message-ID: 738157610.1243016445628.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/COCOON-2194?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712190#action_12712190 ]
Thomas Müller commented on COCOON-2194:
---------------------------------------
Is this problem already solved? I have the same problem.
> Session-attr set in dependency blocks destroyed after servlet call.
> -------------------------------------------------------------------
>
> Key: COCOON-2194
> URL: https://issues.apache.org/jira/browse/COCOON-2194
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core, - Servlet service framework
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Josh
>
> I have a main block (block-a) which makes calls to a depend block (block-b).
> Block-b has access to the global session.
> At the first call from block-a, block-b creates a session-attribute "test".
> I noticed this session-attribute can be retrieved within block-b (right after \
> setting it), but not within block-a. At the second call from block-a, block-b needs \
> to read the session-attribute "test" it has created at the first call, but cannot \
> find it anymore: session-attr "test" doesn't exists. It seems session-attributes \
> set up in a dependency block are only available for the time of the request. This \
> means if any other request to the block is made, the session-attributes will not be \
> available anymore. Is there a way to set a session-attribute in a dependent block \
> and make it available for the duration of the global session?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic