Thursday, 17 September 2009

Getting rid of anonymous sessions when acccesing WCM content

Strange thing happened recently. A WCM system (6.1x) was being used (connect servlet access) by an application. We noticed that every time the application made a call for an item of content, a new Portal session was created. This had seriously bad consequences for the portal.

The solution was very easy since WAS can be tuned to run off (or on) anonymous sessions.

1. Open WAS admin console
2. Goto "Resources > Resource Environment Providers > WP_NavigatorService > Custom properties"
3. Add a new property named public.session with a value of false.

For related information take a look at:

http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/index.jsp?topic=/com.ibm.wp.ent.doc_v6101/wcm/wcm_config_delivery_portlet_sessionhandling.html

and

http://www-01.ibm.com/support/docview.wss?rs=688&context=SSHRKX&dc=DB550&uid=swg1PK94618&loc=en_US&cs=UTF-8〈=en&rss=ct688websphere

Seems to be an issue with the previous version (5.1) too since I found this:

http://www-01.ibm.com/support/docview.wss?rs=688&uid=swg1PK13886

1 comment: