« Return to Thread: Access Cocoon User-Object from outside Cocoon?

Access Cocoon User-Object from outside Cocoon?

by Christofer Dutz-3 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

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

 

 

 

 

 

 

 

 « Return to Thread: Access Cocoon User-Object from outside Cocoon?

LightInTheBox - Buy quality products at wholesale price!