Forum Discussion

shan_83900's avatar
shan_83900
Icon for Nimbostratus rankNimbostratus
Jun 18, 2009

how to handle socket time out

 

 

How can I handle requests which failed after redirecting to app server behind f5 or while processing on app server (may be due to server went down while procession).

 

In this case, I will not get response from app server and user will see socket time out or connection time out.

 

So I want to write an irule which can send some customize html.

 

 

Thanks!!

 

1 Reply

  • Hi,

     

     

    Take a look at the LB_FAILED event wiki page (Click here) and the ASP session ID persistence Codeshare example (Click here). To send HTML from an iRule you can use the HTTP::respond (Click here)

     

     

    you can generate an apology page from within the iRule. The curly braces prevent variable expansion and should eliminate the need to escape meta-characters within the respond content

     

     

     

    Aaron