Created
November 7, 2012 15:56
-
-
Save oberhamsi/4032419 to your computer and use it in GitHub Desktop.
req.session.data problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var {Application} = require('stick'); | |
var app = exports.app = new Application(); | |
app.configure('route'); | |
app.configure('session'); | |
app.get('/', function(req) { | |
console.dir(req.session.data); | |
}); | |
if (require.main == module) { | |
require('ringo/httpserver').main(module.id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment