How can I detect on the server (server-side) whether cookies in the browser are disabled? Is it possible? Detailed explanation: I am processing an HTTP request on the server. I want to set a cookie v...
I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to send a message from the server to an specific client, something like this: client.send(message, rece...
I saw here that: As you probably already know, relying on client-side validation alone is a very bad idea. Always perform appropriate server-side validation as well. Could you explain wh...
I'm using OleDb to read from an excel workbook with many sheets. I need to read the sheet names, but I need them in the order they are defined in the spreadsheet; so If I have a file that looks like...
Does anyone know a good method to debug server side code? I tried enable Node.js debug then use node-inspector but it does not show any of my code. I end up using console.log but this is very ineffic...
I've been using this site for a long time to find answers to my questions, but I wasn't able to find the answer on this one. I am working with a small group on a class project. We're to build a small...
We all know the good old "disable the submit button" trick but what are the best ways to handle multiple submissions server side? I have an application where it is absolutely critical that a form only...
http://example.com/something/somewhere//somehow/script.js Does the double slash break anything on the server side? I have a script that parses URLs and i was wondering if it would break anything (or...