Article PS01043048
Problem DescriptionAfter adding a new record with AspGrid, if a user hits the Refresh button on the browser, another identical record is added to the table. SolutionTo prevent an unwanted record from being added to the table when the Refresh button is hit, a session variable may be used to store the last query string content. If the current query string value is the same as the previous value, it means that the Refresh button was hit, and no updates should be performed.
Created: 2/8/2002 5:06:59 AM
Copyright © Persits Software, Inc. 1998 - 2023 |