Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
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

Reply
 
Thread Tools Display Modes
  #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!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:22 PM
Sessions dont work melkin ASP.NET 1.0 and 1.1 Professional 6 April 12th, 2007 01:17 PM



All times are GMT -4. The time now is 04:54 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.