Jump to content

Timeout


dbx

Recommended Posts

Hi,

 

I have a page that displays one of two forms based on a cookie that is stored on the user's computer. Every time the page loads, AJAX checks the cookie and displays the correct form.

 

While AJAX does this, it displays a small loading image.

 

If, while it is loading, i click a link somewhere else on the page that uses AJAX, the form will not load and the loading image will keep going.

 

Is there a way for me to force it to try again after a certain amount of time? Or to display an error requesting they reload the page to try again?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/142596-timeout/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.