
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Oh well … found
out myself,
But I don’t
know, why the Property view of Eclipse tells me that sets are empty, but if you
add a watch, you can see all the properties stired in a session L
User
user = (User) theRequest.getSession(true).getAttribute("cauth-user-app");
Maybe this helps
anyone.
Chris
Von: Christofer Dutz
[mailto:christofer.dutz@...]
Gesendet: Donnerstag, 3. Juli 2008 13:01
An: users@...
Betreff: [english 92%] Access Cocoon User-Object from outside Cocoon?
Hi,
I am currently optimizing an application I
have developed and am currently trying to create a Servlet, that bypasses
Cocoons Pipeline-Stuff. The reason for this is that my application has an
instant messenger component, that checks for new messages every 6 seconds. With
100 Users online, this creates about 70% of the server load. Since all this
component does, is to check if there are new messages and if there are, to send
1 row of JavaScript back to the client, I would like to bypass Cocoon
completely. Unfortunately I have to access the User Object stored in the
session. Inside Cocoon this is absolutely no problem, but I am struggling to do
this from outside Cocoon.
Has anyone done this before and could give
me a hint at how to do this?
Chris
[ C h r i s t o f e r D u t z ]
C-Ware IT-Service
Inhaber
Dipl. Inf. Christofer Dutz
Karlstraße. 104, 64285 Darmstadt
fon: 0 61 51 / 27315 - 61
fax: 0 61 51 / 27315 - 64
mobil: 0171 / 7 444 2 33
email: christofer.dutz@...
http://www.c-ware.de
FA Darmstadt: 07 813 60581