Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 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
 
Old September 20th, 2006, 09:00 PM
Registered User
 
Join Date: Sep 2006
Location: woodstock, ontario, Canada.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 15 help

First off, I think this is a great book...

I have been working on doing my own custom store with the help of this book...everything is working properly except I have 2 problems (its still in the early stages):

a) if I add more than one item to the cart, the price totals add to what the 2 items would be up in the end, but only one item is displayed. Meaning the information isn't getting passed through, meaning that whole object could get overlooked in shipping.

b) if I don't actually go through to the checkout (close my browser before I "proceed to checkout" the information still remains there next time I go to the store and I even have users set up (with password).

Anyone have any suggestions?

Thanks,
Kyle

 
Old September 21st, 2006, 12:35 PM
Registered User
 
Join Date: Sep 2006
Location: woodstock, ontario, Canada.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

fixed problem b...but still need help with a

solution to b is to put: session_regenerate_id(); after session_start(); this gives a unique session_id everytime the user logs in.

I can definately see it COULD make sense not to worry about regenerating this since the same user going back to the page, the info would be held, but I don't like that option, just in case.

help with a anyone?

Thanks,
Kyle

 
Old June 30th, 2007, 08:06 AM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having a problem with the afore mentioned b.

I've tried using session_regenerate_id(); but nothing is really happening. My information is still there in the cart from the last time. Visible on other computers too.

Any ideas? I appreciate any help!
Luke




Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 15 manal_sag BOOK: Beginning ASP 3.0 2 March 13th, 2006 04:48 PM
Chapter 15 rrlevron BOOK: Beginning ASP 3.0 0 November 17th, 2005 03:38 PM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 1 June 18th, 2005 11:05 AM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 0 April 22nd, 2005 02:23 PM
Chapter 15!! studentinpain BOOK: Beginning ASP 3.0 16 March 12th, 2004 10:26 AM





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