Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Every time a user comes to the site they're automatically assigned a 'shopping cart' id. What is happening now is that if a user clicks on a link and Internet explorer sometimes uses a 'cached' page instead of executing the perl script again. Because of this a user may add an item to their shopping cart, then click around the site, then add another item to their shopping cart, and because it is an 'old' page, the first item that they added isn't there because the underlying html is working with two different shopping cart ids.
How can ask you force a link to 'refresh' and not use the cache? Is this maybe a javascript question? I'm a perl person so thought I'd come here for some suggestions.
Thank you!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to force perl script to be refreshed
by tachyon (Chancellor) on Oct 10, 2004 at 11:05 UTC | |
by Jenda (Abbot) on Oct 10, 2004 at 20:27 UTC | |
|
Re: How to force perl script to be refreshed
by cbraga (Pilgrim) on Oct 10, 2004 at 13:56 UTC | |
by tachyon (Chancellor) on Oct 10, 2004 at 22:25 UTC | |
|
Re: How to force perl script to be refreshed
by TedPride (Priest) on Oct 10, 2004 at 23:15 UTC | |
|
Re: How to force perl script to be refreshed
by Prior Nacre V (Hermit) on Oct 11, 2004 at 10:04 UTC | |
by stevecomrie (Beadle) on Oct 12, 2004 at 12:01 UTC |