Hi,
Chapter 21 code does not work:
The logout button does not work to log out and it never displays the user session id on any of the screens. The user/password form works, the user can create profiles but the session code does not work. It does get a cookie but the session code fails in some way without any error message so a lot of the functionality it should have does not work. I have tried everything I can think of including downloading the sample code but even using that 100%, the downloaded code stills fails in the same way. I am using all the correct versions of software per the book. Below is my package.json
{
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.
js"
},
"dependencies": {
"express": "2.5.11",
"jade": "<= 1.2.5",
"async": "0.1.22",
"request": "2.10.0"
}
}
Please respond...working sample code would be great, I really need to learn sessions that is why I got the book. Thanks in advance!