Subject: Error handling !
Posted By: ittorget Post Date: 10/30/2003 12:54:46 PM
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
      Redirect("page")
   Else
      Do nothing
   End If
Next

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.....

Reply By: ittorget Reply Date: 10/31/2003 10:20:26 AM
I have allready solved the problem....
It was easy really.

Response.CacheControl = "NO-cache"

Reply By: mega Reply Date: 11/14/2003 8:44:56 AM
You can also use Response.Expired = Now()

Regards - Jon

Go to topic 6392

Return to index page 1005
Return to index page 1004
Return to index page 1003
Return to index page 1002
Return to index page 1001
Return to index page 1000
Return to index page 999
Return to index page 998
Return to index page 997
Return to index page 996