www.uburst.com www.uburst.com

"Cache Discount Fix"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Programmer Tips
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Cache Discount Fix"
Posted by James on May-04-01 at 09:10 AM (EST)
A customer returned several days later to a site that was running a 10% flat discount for one day. Although the discount applet code was completely off the site it had remained in the customer's browser cache and was applied at purchase.

If you are planning to run discounts periodically I suggest renaming or removing the applicable discount applets when not needed to avoid this. That should fix it.

Thanks,
James

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Cache Discount Fix, Bill Weiner, May-05-01, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Cache Discount Fix"
Posted by Bill Weiner on May-05-01 at 07:55 AM (EST)
Hmmm... that's interesting. Even if the class files were stored in the customer's cache after a few days... I wouldn't think that it would also store the state of the discount applet. Are you sure the customer didn't have the HTML page with the discount applet on it bookmarked?

In any case, another option would be to just set the discount rate of the applet to 0% in order to make sure the discount no longer applies. Or use the uShopJSI.setDiscountRate() JavaScript to set the discount rate to 0%.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.