p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   Error handling ! (http://p2p.wrox.com/showthread.php?t=5579)

ittorget October 30th, 2003 01:54 PM

Error handling !
I need som help requarding Error handling.

I use this script;

On Error Resume Next

On Error Goto 0

For Each objErr in str.Errors
   If str.Number = -2147467259 Then
      Do nothing
   End If

So far it works. it Redirects to error page but when i trie to go back i cant. the page is cached and i need to empty the cach toeturn to the default page. I need some help.

How to make none cache able pages?
Or do you have any other idé to fix this plz msg me.....[?]

ittorget October 31st, 2003 11:20 AM

I have allready solved the problem....
It was easy really.

Response.CacheControl = "NO-cache"

mega November 14th, 2003 09:44 AM

You can also use Response.Expired = Now()

Regards - Jon

All times are GMT -4. The time now is 12:10 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.