cancel
Showing results for 
Search instead for 
Did you mean: 

store the session in js controller

brahmaiah926
Confirmed Champ
Confirmed Champ

for js backend webscripts, is it possible to store session because for me my webscript is giving me time out error for running over large content after some time.

any help would appreciate,

regards,

brahmaiah ganna

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

Technically you can store data in the session from JavaScript backed web scripts but you rarely if ever should need to. A long running JavaScript backed web script does not timeout, technically speaking. It will run to completion. But you may be experiencing a timeout on the Share proxy to Repository-tier web scripts because that proxy (/share/proxy/alfresco/) uses a configurable timeout to set a limit on how long it waits for completion. This can be configured via the connector configuration in the "Remote" configuration section of share-config-custom.xml