Managing Sessions in NodeJS?

You can do that very easily using: Connect: senchalabs.github.com/connect/ Connects is like Rack in Ruby. It gives you an extra layer where you can "play" with authentication, sessions, cookies, among others. Other option is to use frameworks: Express.

Js: expressjs.com/ It seems to be the most used node. Js framework. Is like Sinatra for Ruby and runs on top of connect.

Geddy: geddyjs.org/ If you want to do more complex WebApps, Geddy is the one you choose. Is like Rails for Ruby.

– Michael Jun 10 '11 at 9:22 @Michael geddy vs express – Raynos Jun 20 '11 at 6:00 1 I think you should mention that Express is built on top of Connect -- any features or addons that are compatible with Connect will work with Express. – Jonathan Dumaine Sep 13 '11 at 8:41.

Nodejs provides a basic http API. Http is stateless, and ideas of sessions and session variables exist in framework/protocols build on top of http. en.wikipedia.org/wiki/Session_%28compute... Take a look at geddyjs.org/ or expressjs.com/ as examples of web frameworks built with node that provide sessions.

Thansk, will look into express. – Timmy Sep 17 '10 at 17:41.

If you are looking for serious web development using Node. Js, use Express framework; it supports sessions. Create the Express project with the --sessions options.

$ express --sessions To install Express: $ npm install express -g.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions