Re: [nodejs] How To get session of java

2012-12-12 Thread greelgorke
it depends on how java session is implemented. is it persisted in a db? then you just have to read the session-id cookie in node and fetch it from db. if its in-memory stored in java, then you have to implement a rpc/rest interface in java, which profides the session data as json to your node a

Re: [nodejs] How To get session of java

2012-12-12 Thread ayaz ali
i need the complete session object which is created after login. it may contain any thing any solution please -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the

Re: [nodejs] How To get session of java

2012-12-12 Thread Angel Java Lopez
Hi people! U.. do you need somevalue of session? or only the name of the user, to be used at the chat activitiy? In any case, I would implement: - Java (web server, I guess) sends a token to browser. In this context, token is a random key (a GUID, maybe). Java web server keeps a weak diction

Re: [nodejs] How To get session of java

2012-12-12 Thread Ben Noordhuis
On Wed, Dec 12, 2012 at 8:39 AM, ayaz ali wrote: > hello everyone i have made a nodejs chat app with express and io. i want to > integrate it with existing java application which is mode on java spring. > flow will be like that when user login the application i want to get the > session of java in

[nodejs] How To get session of java

2012-12-11 Thread ayaz ali
hello everyone i have made a nodejs chat app with express and io. i want to integrate it with existing java application which is mode on java spring. flow will be like that when user login the application i want to get the session of java in my nodejs to get user online. Thanks -- Job Board: