store the session in js controller

cancel
Showing results for 
Search instead for 
Did you mean: 
brahmaiah926
Active Member II

store the session in js controller

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
afaust
Master

Re: store the session in js controller

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