Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member medlington's Avatar
    Join Date
    Nov 2005
    Location
    Sheffield, UK
    Posts
    377
    Member #
    11968
    Liked
    4 times
    Hi,

    I just got some feedback from one of my sites and the client is concerned that when they click back on their browser they get a 'resending information' warning. I know what they mean by this but I dont get the same warning when I click back.

    My understanding is that youl get this warning on any database driven site when you click back in the browser as the browser has to resend the search information. Is this correct?

    If not can anyone tell me how to surpress this warning or is it simply the security settings they have set within their browser?

    thanks

  2.  

  3. #2
    Member frederik's Avatar
    Join Date
    Jun 2010
    Location
    Belgium, Helchteren / The Netherlands, Maastricht
    Posts
    43
    Member #
    22285
    You can solve this by implementing a post/redirect/get pattern. It means that the form you submit eads to a page that processes the data, and than redirects the user, for example using the headers function in php, or using window.location in javascript. you can read more about it here.

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    You can also solve this by caching the search results page for a period of X amount of time (where X is determined by you). No need for redirects that way.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    Senior Member medlington's Avatar
    Join Date
    Nov 2005
    Location
    Sheffield, UK
    Posts
    377
    Member #
    11968
    Liked
    4 times
    Thanks for the info guys,

    Do you have any links to good articles on caching pages, thats something I need to learn

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    This would depend on both your server and/or the programming languages used.

    Here's an example using ASP.net.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:13 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com