function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandeep SahrawatSandeep Sahrawat 

Session Timeout failing due to @RemoteAction annotation

The salesforce service console is failing to timeout. Session timeout is set to 15 minutes and even after 15 minutes, session is still active. After doing research, i found out that one of the visualforce page is keeping the session alive bcoz @remoteaction annotation is being used.

http://salesforce.stackexchange.com/questions/5496/remote-actions-and-session-timeout-question 

http://salesforce.stackexchange.com/questions/106741/how-to-poll-data-without-resetting-the-session-clock 

What can be the workaround for this? Instead of @RemoteAction can i use actionfunction? 
NagendraNagendra (Salesforce Developers) 
Hi Sandeep,

You can use, Configurable timeout for the remote request in VF page.By using, configurable timeout for the remote request in vf page, will the user be logged out from the page in case of inactivity for 15 minutes?The expected behaviour is that the user should be logged out incase of inactivity for 15 minutes.
https://developer.salesforce.com/releases/release/Summer13/Configurable+Timeout+for+JavaScript+Remote+Requests

As this post is already answered on the success community here
https://success.salesforce.com/answers?id=9063A000000swAOQAY

Kindly mark this post as solved if it's resolved so that experts from the community will be able to help others who are looking for help on some other issues.

Best Regards,
Nagendra.P