Im trying to just stop the post request after I\'ve saved a document to the DB, ie:
app.post(\'/blah\'), function(req,res){
//my code does a bunch of stuff
If you could modify your client side code to make the post request via AJAX, you could simply use res.end().
The problem here is that when the browser makes a POST request (not via AJAX), it no longer cares about the current page. It is expecting a new page, so it will load a new page. This is purely with the browser, and I do not believe there is currently a way for you to work around it.
Overall, you should just use an AJAX POST request if you can.