prevent refresh

Results 1 to 2 of 2

Thread: prevent refresh

  1. #1
    Join Date
    Dec 1969

    Default prevent refresh

    hi,<BR>is it possible to somehow prevent refresh of an asp page. i have a shopping cart database and the page displays the rows of the shopping cart database. now each time i refresh, extra number of elements are added to the database how do i prevent this.<BR>can somebody help me??

  2. #2
    Join Date
    Dec 1969

    Default RE: prevent refresh

    If I understand this problem correctly, I/O is being done when<BR>the refresh button is clicked. You need to add code that performs<BR>I/O only under certain circumstances such as user hits a submit<BR>button. You could also use a session variable that would<BR>increment each time the asp page is executed and only perform<BR>I/O when the session variable is 0.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts