Answer by bevacqua for Nodejs requests are hanging
You need to use the next callback to indicate your middleware doesn't have anything else to do. app.get('/*', function (req, res, next) { if( !(req.cookies.isLoggedIn !== void 0 &&...
View ArticleAnswer by Mahmal Sami for Nodejs requests are hanging
You need to put an output.for example res.send(200, "You arelogged");otherwise, your browser will still be waiting for an output.what do you mean by "continue?"
View ArticleNodejs requests are hanging
I'm trying to redirect a user based on their url path and also if they do not have a particular cookie set.How do I get nodejs to "do nothing" and continue? The request just hangs if it's executing the...
View Article
More Pages to Explore .....