Difference between notification and polling
By Ajit Kamble on Oct 03, 2007
Portal Server and Gateway uses Access Manager and Access Manager SDK for session. It can use either use notification or polling for session notification. Below is the explaination for the same.
\* The following keys are used to enable session client side notificationThe above two properties are used by session client code, if Polling is set to false notification will be enabled , if polling is set to true notification mode will be disabled.
\* Default polling period is 180 seconds
Note : The AM Server always runs in notification mode so changing this property on the server side doesn't has any effect.
Notification Mode: In notification mode for each session the client registers a notification listener on the server, when any thing changes for that session on the server (time out etc) , the server send notification to the client so the client can update its cache.
Polling Mode : In Polling mode, the session client contacts the server for each session if its caching time has expired and will update its cache.