This is my server code, please take a look at the comments in the code.
var app = express.createServer();
app.get('/', function(req, res){
// create a session with the value of an email for example: [email protected]
});
// down here I want to check the session if the session exist
if( there is a session with value [email protected]){
//do stuff
}