Skip to Content
0
Jul 31, 2007 at 06:03 PM

DynPage - Store data in application scope (for ALL users)

12 Views

Hi,

I have a DynPage application.

I want to share data between ALL the users of this portal application (I am looking for something equal to Application Object in ASP.NET).

I thought of using 'Component Context storage' but according to note 802015 it's not recommended.

<i>WE DO NOT RECOMMEND TO USE THE CONTEXT FOR STORING DATA, BECAUSE IT MIGHT

BE RELEASED EACH TIME THE WEB SERVER NEEDS RESOURCES.</i>

What about using session object with SCOPE_COMPONENT/SCOPE_CONTEXT (something like: componentSession.putValue("xxx",xxx,IPortalComponentSession.SCOPE_COMPONENT);

So how can I get application object or something similar? (I don't want use DB/file)

Regards,

Omri