Yes, the cookie needs to be returned to the client and to be send
again in the next request.
One solution is to store the session data into a collection node with
and id and just use the cookie for passing around this id.
The following module is an example of sessions managed server side:
https://gist.github.com/1370411
Does this help?
Kind regards,
William
Good luck with your project & happy coding!
Kind regards,
William