Friday 23 December 2016

Need help writing Node.js server that can intake user data and persist it through multiple page loads, without using cookies.

Hi everyone. I'm fairly new to backend development, and I'm trying to understand how to accomplish this. I have a form with an input box and submit button, and would like to be able to enter a name, submit it, and then on the next page (http://ift.tt/2cDFMJB) the name appears. I repeat this again with another name, submit and on that page (http://ift.tt/2hh9eb5) the two names appear. Then, I would like to link back to the root page with both names sill appearing.Currently I am using fs.writeFile to write names to a json file.

Submitted December 24, 2016 at 12:01AM by ZappasBlackNapkin

No comments:

Post a Comment