Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Node.js: Building Javascript Based Scalable Software
This is the forum to discuss the Wrox book Professional Node.js: Building Javascript Based Scalable Software by Pedro Teixeira; ISBN: 978-1-118-18546-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Node.js: Building Javascript Based Scalable Software section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
View Poll Results: Did anyone get all the book examples to run starting with chapter 21 onwards?
no 1 100.00%
yes they all ran 0 0%
Voters: 1. You may not vote on this poll

  #1 (permalink)  
Old October 28th, 2013, 09:35 PM
Registered User
Points: 250, Level: 4
Points: 250, Level: 4 Points: 250, Level: 4 Points: 250, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2006
Location: , , .
Posts: 9
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy chapter 21 sessions code does not work

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!


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 19a code does not work poduska BOOK: ASP.NET 4 24-Hour Trainer 4 January 17th, 2011 03:22 PM
Sessions dont work melkin ASP.NET 1.0 and 1.1 Professional 6 April 12th, 2007 01:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.