Forum Discussion

ekanathdas_2662's avatar
ekanathdas_2662
Icon for Nimbostratus rankNimbostratus
Jun 07, 2012

trap an error message and then redirect back to the originating page

Hi,

 

 

 

 

 

 

In one of the application, if a unusual string is given and searched for it, the output is "SQL error in Exec ....." .

 

 

 

The output shows the line number in the SQL table.

 

 

 

The context unusual string , i meant something else like a random word is entered in the email field and clicked on search button.

 

 

 

Is their any custom development that can be done on the F5

 

that can trap an error message and then redirect back to the originating

 

page?

 

 

 

 

 

Thanks,

 

Ekanath

 

 

 

 

 

 

 

 

 

  • Arie's avatar
    Arie
    Icon for Altostratus rankAltostratus
    Most likely what you are looking for is possible.

     

     

    What's the HTTP response code for the page that includes the text "SQL error in Exec"? If it's not a 200 you can use the Response Code to trigger an event. Otherwise you can examine the content of the payload to see if the error message is present and take action if it is.