Sep 10th, 2010, 11:17 PM
when grails create new http session?
my application contain two parts:
1- a normal site
2- a web service implemented using controller class to export json based on a REST api
the question is , how i disable session creation when a user access the second part(the web service)
i expect the REST api to be of high traffic and i do not want grails to create http session for each user, it is not necessary, and will consume a lot of memory
so how can i disable session creation? or generally when grails sessions are created?
Sep 23rd, 2010, 05:05 PM
As far as I'm aware, an HTTP session will only be created if you access the session from within the request. Are you seeing different behaviour?