44 users online (0 members and 44 guests)  

Thread: CGI / Perl


  Results 1 to 2 of 2

Related

  1. Need help with perl    Forum: CGI Perl Forum
    Replies: 1
  2. Replies: 1
  3. Replies: 1
  4. Replies: 0
  1. #1
    prash's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2004
    Posts
    1

    Question CGI/Perl

    I am using CGI.pm with Perl Script. Using function calls in perl to load different views. In one view i update the database. The Update button is of type submit. After update, if i Refresh the page, UPDATE HAPPENS AGAIN. How can i avoid it?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Easiest is to use a meta-refresh or a Location: header to redirect the page back to itself after the form data in updated.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread