SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
WebGetPageHTML

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
WebGetPageHTML
Author Message
Kevin Donohue



Joined: 18 Mar 2004
Posts: 28

Post WebGetPageHTML Reply with quote

Is there a way to trap a 500 error on the WebGetPageHTML function? I want to execute some code if 24x7 returns a 500 error on a WebGetPageHTML

Fri Sep 17, 2004 4:09 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: WebGetPageHTML Reply with quote

// get the page, ignoring any errors
OnErrorResumeNext
WebGetPageHTML "[UTL]", "[file name]"
OnErrorStop

// here search your file for 500 error...
Dim dummy, string
Dim got_500_error
FileSearchEx "[dir]", "[file name]", "500 error", False, dummy
NotEqual dummy, "", got_500_error

: Is there a way to trap a 500 error on the WebGetPageHTML function? I want to
: execute some code if 24x7 returns a 500 error on a WebGetPageHTML

Fri Sep 17, 2004 5:18 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.