cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christofer Dutz" <>
Subject AW: [english 92%] Access Cocoon User-Object from outside Cocoon?
Date Fri, 04 Jul 2008 06:34:21 GMT
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)


Maybe this helps anyone.






Von: Christofer Dutz [] 
Gesendet: Donnerstag, 3. Juli 2008 13:01
Betreff: [english 92%] Access Cocoon User-Object from outside Cocoon?




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? 



[ C h r i s t o f e r  D u t z ]

C-Ware IT-Service
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: <> 

FA Darmstadt: 07 813 60581








View raw message