[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:

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

[nodejs] Re: How To get session of java

2012-12-12 Thread ayaz ali
its an httpsession -- 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 Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com

[nodejs] Re: How To get session of java

2012-12-12 Thread ayaz ali
is it possibe to acess session from javascript? hop eits silly questuin :p bt just for confirmation -- 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 Google Gr

[nodejs] integrate in project

2012-12-12 Thread ayaz ali
hello can anyone tell me that how can i integrate nodejs chat app in existing java app which is deployed in tomcat. i want that when user login he also connect to my node app. Thanks -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Post

Re: [nodejs] Re: How To get session of java

2012-12-12 Thread ayaz ali
is it possibe to acess session from javascript? -- 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 Google Groups "nodejs" group. To post to this group, send emai

[nodejs] how to create session in nodejs using expressjs

2012-12-17 Thread ayaz ali
hello every one : i get this error while putting value in session C:\Program Files\nodejs\chatingLoginExp\node_modules\express\node_modules\connect\lib\middleware\session.js:262 var secured = cookie.secure && (req.connection.encrypted || req.connec ^ TypeErro

[nodejs] how to create session in nodejs using expressjs

2012-12-17 Thread ayaz ali
hello every one : i get this error while putting value in session C:\Program Files\nodejs\chatingLoginExp\node_modules\express\node_modules\connect\lib\middleware\session.js:262 var secured = cookie.secure && (req.connection.encrypted || req.connec ^ TypeErro

[nodejs] Nodejs Chat Popup for private messaging

2012-12-17 Thread ayaz ali
hello everyone i have developed chat appusing express and socket.io which is currently chat rooms based i want to extend it now for private chat like facebook or gtalk, i have searched but only find php based example and i need an example which is independent of any other language like php any h

[nodejs] Re: Nodejs Chat Popup for private messaging

2012-12-17 Thread ayaz ali
thanks for reply my problem is that i have to integrate it in my existing application which is in java -- 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 Google

[nodejs] Socket.io disconnect clients

2012-12-20 Thread ayaz ali
hello everyone i have made an chat app which works fine problem is that when client is disconnected it does not remove from io.sockets.clients(). any idea how to remove clients from io.sockets.clients() Thanks. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyen

[nodejs] seprate socket for private chat

2012-12-23 Thread ayaz ali
hello everyone i have made a chat app using socket.io express. iam able to send private message to selcted user but i want to open a private chat in seprate iframe which will be the seprate socket from the existing running socket any idea how to do that, i am trying like this socket.on('get

[nodejs] reset application

2012-12-26 Thread ayaz ali
hello everyone, i have made an chat application using socket.io and express js working fine. problem is that when client reset the browser the connection is disconnected and ask to reconnect how to handle this situation i want to only disconnect when client close browser. any help please thanks

[nodejs] GroupBy

2012-12-31 Thread ayaz ali
Hello how to use group by in mongoose i have tried this but it displays undefined Model.find({}, [], {'group': 'FIELD'}, function(err, logs) { // code }); MessageModel.find({'messageTo':userName, "deliveredStatus":false}, {'group': 'messageFrom'}, (function (err, MessageModel) {

[nodejs] Refresh the content without page refresh

2013-01-15 Thread ayaz ali
hello i have developed the chat application using socket.io, expressjs and mongoose it works fine. it refreshes after some seconds and fetches new clients from db if exist. problem is that user can feel that div is refreshsing.and also some time take soem time in response. how to avoid this c

Re: [nodejs] Refresh the content without page refresh

2013-01-16 Thread ayaz ali
@murvinlai Thanks for response socket.on('updateusers', function(usernames) { jQuery('#usernames').html(''); jQuery.each(usernames, function(key, value) { //jQuery('#usernames').append('' + value + ''); jQuery('#usernames').append('' ); }} This is my cli

[nodejs] Socket.io and expressJs slow on connecting to server

2013-01-18 Thread ayaz ali
hello everyone i have made a chat application which works fine. but i have a question when client connects to server. it takes some time to connect. in firefox i get this error Firefox can't establish a connection to the server at ws://localhost:8080/socket.io/1/websocket/993016743668946000. ...

Re: [nodejs] Socket.io and expressJs slow on connecting to server

2013-01-21 Thread ayaz ali
hello @Glenn Block Thanks for response yes it falls back to xhr poling -- 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 Google Groups "nodejs" group. To post t