Strict vbScript redirect method (no asp)
Posted on 2001-07-09
How can you do a redirect with vbScript without using the response object in ASP? Here is the code...
lngControl = MsgBox("Are you sure you want to delete this order?",vbOKCANCEL,"WARNING! YOU ARE ABOUT TO DELETE!")
If lngControl = vbOk THEN
response.redirect "orders.asp?action=delete&ID=" & currentID
Obviously the redirect doesn't work because it's not in asp, but just vbScript... I realize it's a little wierd to post a non asp question in the asp area, but I figured the people here would know more about vbScript...