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: 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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

Reply With Quote
  #2 (permalink)  
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

Reply With Quote
  #3 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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



All times are GMT -4. The time now is 11:17 PM.


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