Possible IIS cache issue - ASP ghost entries

Discussion in 'ASP General' started by Roland Hall, Jan 12, 2005.

  1. Roland Hall

    Roland Hall Guest

    Scenario:

    E-commerce:

    User clicks on a button [BUY NOW], item is added to cart. User can either
    continue shopping or view cart. The order here doesn't matter. When user
    views cart, two items are added, the one selected and the last one in the
    product file. The product file is a CSV file.

    The last entry is called BAD-Product. It is a debug entry during site
    development so the developer knows the product name is entered wrong, i.e.
    misspelled. If the name was omitted an error would occur so there is a
    name.

    This only happens with Firefox and Netscape. IE experiences no problems.
    The last entry is not added.

    Accidental temporary solution:

    In review of the code, a debug line was put in to make validate the product
    item being returned. After saving the page (.asp add item page), the error
    disappeared. The debug line was then commented out and the error still has
    no resurfaced.

    Additional sites on the same server also experienced the same issue.
    Copying over the .asp file to the other sites solved the issue.

    I repeat, only the debug line was added to show the product item to the
    screen. It leaves me to believe IIS cache was involved somehow as I refuse
    to accept adding a debug line and then commenting it out has any difference.
    I have verified every step of the code and this was working correct without
    error during development. The sites are still not in production and it is
    possible the BAD-Product has been selected before.

    Is it possible the cache issue was on the client or are there settings in
    IIS cache that may affect this? Should cache be removed on all e-commerce
    pages that require constant changes?

    TIA...

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
    WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
    MSDN Library - http://msdn.microsoft.com/library/default.asp
     
    Roland Hall, Jan 12, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dbritton

    How to "ghost" a jcomponent?

    dbritton, Feb 5, 2004, in forum: Java
    Replies:
    2
    Views:
    306
    Andrew Thompson
    Feb 5, 2004
  2. B Young
    Replies:
    0
    Views:
    815
    B Young
    Apr 12, 2004
  3. Bart van den Burg

    "Ghost" margin, IE is messing me up

    Bart van den Burg, Jan 29, 2005, in forum: HTML
    Replies:
    7
    Views:
    1,651
    Bart van den Burg
    Jan 30, 2005
  4. Paul Hamaker

    JFrame called Ghost doesn't show

    Paul Hamaker, Jul 7, 2006, in forum: Java
    Replies:
    16
    Views:
    617
    Thomas Hawtin
    Jul 16, 2006
  5. Don Bruder
    Replies:
    3
    Views:
    1,012
    spikeysnack
    Aug 3, 2010
Loading...

Share This Page