Here is the case:
I have a web browser that is connecting to the backend server, the backend server is communicating with the database (couchdb) that sets a session (through HTTP response) to the backend server. Now I want to send this session back to the web browser that later can communicate directly to the database, is this possible?
Im using Node.js/Javascript.
If your database happens to be CouchDB then yes, it is possible.