-
Sep 10th, 2010, 11:17 PM
#1
when grails create new http session?
Hi all
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?
thanks
Joe
-
Sep 23rd, 2010, 05:05 PM
#2
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules