VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 semi colons break saved cart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

4 Posts

Posted - March 15 2006 :  03:51:33  Show Profile  Reply with Quote
If in the Name or Short Desc of a product there is a semi-colon ";" (such as if you add an & which is converted to "& amp ;" in the html editor) then if you try and restore the saved cart you can get unexpected results, including product not being restored, or part of the desc appearing in the qty field of the cart!

This appears to be due to the use of semi-colons as the delimiters in the "cartcookies" field of the "savedcarts" table.

I've done a quick patch by replacing ";" with "[sc]" before it is writted into the db (Sub SessionSaveCart), and switching back again when it is recovered (Sub Getcartvalues)

Hope this helps someone!

Edited by - MarkBennett on March 15 2006 05:48:40

VP-ASP New User

74 Posts

Posted - July 24 2006 :  19:17:50  Show Profile  Visit Rockdale's Homepage  Reply with Quote
Mark are you switching the ; in the data being saved? Could you send me the page? My email is [email protected] I have a similar issue with the ! that is used in savecartperm.asp

Michael Kelley
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000