Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting data from 2/4 tables 1

Status
Not open for further replies.

nk9100

Technical User
May 13, 2005
67
GB
Hi,

I have searched for this, but I am wanting some quick advice...

Although messy, what is wrong with having a response.redirect at the end of each page to forward the browser instantly in order to delete records from a number of tables?

Cheers

Richard

Life is a journey that always ends up in the place
 
The redirect is an HTTP command to the browser instructing it to request a different page.

One potential problem with the scenario you described is that the browser might not obey the redirect. The browser might be closed or the user could have their security settings up so high that they are prompted to accept/reject redirects.

I would look for another way to skin this cat if failure to obey the redirect could lead to a problem in your database.
 
Thanks for your input Sheco

Life is a journey that always ends up in the place
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top