app.get('/myParameterPage', function(req, res){
[...]
//somehow computed:
var foo = 'bar';
[...]
if(req.session.userAuthenticated){
res.sendfile(__dirname + '/mypage.html');
}
});
To put it simple I would like to pass the variable foo to mypage.html. Is it possible?
Thanks,
Masiar
--
You received this message because you are subscribed to the Google Groups "Express" group.
To post to this group, send email to expre...@googlegroups.com.
To unsubscribe from this group, send email to express-js+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/express-js?hl=en.
L.
--
Laurie Harper
http://laurie.holoweb.net/