-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yves,
On 7/14/2009 2:33 PM, Yves Glodt wrote:
> The reason I wanted to manipulate one HttpSession from another is
> since in this case, I have an external entity (and thus in another
> HttpSession) making a POST request to my servlet, posting informa
2009/7/13 Christopher Schultz :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Daniel,
>
> On 7/13/2009 12:16 PM, Daniel Henrique Alves Lima wrote:
>> I don't know if you can/should change other HttpSession directly.
>
> You might be able to on an older servlet container, but this port
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
On 7/14/2009 12:14 AM, Daniel Henrique Alves Lima wrote:
> On Mon, 2009-07-13 at 13:00 -0400, Christopher Schultz wrote:
>>> As
>>> Mikolaj Rydzewski said, you could perform a HTTP request using a
>>> different JSESSIONID cookie or a ;jsession
On Mon, 2009-07-13 at 13:00 -0400, Christopher Schultz wrote:
>
> > As
> > Mikolaj Rydzewski said, you could perform a HTTP request using a
> > different JSESSIONID cookie or a ;jsessionid URL rewriting.
>
> This is possible.
>
> It's also possible to use a SessionListener to maintain your own
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
On 7/13/2009 12:16 PM, Daniel Henrique Alves Lima wrote:
> I don't know if you can/should change other HttpSession directly.
You might be able to on an older servlet container, but this portion of
the API has been deprecated and will ca
I don't know if you can/should change other HttpSession directly. As
Mikolaj Rydzewski said, you could perform a HTTP request using a
different JSESSIONID cookie or a ;jsessionid URL rewriting.
On Mon, 2009-07-13 at 16:33 +0200, Yves Glodt wrote:
> Unfortunately what the blog above descr
Unfortunately what the blog above describes does not seem to work anymore...:
HttpSessionContext sc = request.getSession().getSessionContext();
HttpSession userSession = sc.getSession(sessionId);
userSession.setAttribute("myObject", cr);
It silently fails with an exception at the last line, an ex
Thanks for telling. I found another way (deprecated) in the mean time:
http://javasolution.blogspot.com/2007/08/getting-session-object-using-session-id.html
2009/7/13 Mikolaj Rydzewski :
> Yves Glodt wrote:
>>
>> is it possible to "open" a different HttpSession than my "own" (if
>> it's session-i
Yves Glodt wrote:
is it possible to "open" a different HttpSession than my "own" (if
it's session-id is known), and set an attribute in that session?
You can perform HTTP request with session cookie explicity set.
--
Mikolaj Rydzewski
--
Hello,
is it possible to "open" a different HttpSession than my "own" (if
it's session-id is known), and set an attribute in that session?
Best regards,
Yves
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For addi
10 matches
Mail list logo