server side authentication timeout issue

server side authentication timeout issue

jerome_jayjerome_jay Posts: 6Questions: 0Answers: 0
edited February 2013 in DataTables 1.9
Hello,

I'm using the latest datatables 1.9.4, and it's working perfectly fine ! (thanks a lot BTW !!).

So, here's a really specific concern:
because we're using some kind of 3rd party authentication, something like that is happening:
- load the page => working fine
- do a filter/sort/next page => working fine
"wait a few minutes"
- do a filter/sort/next page => "processing... appears" and never goes away ... until I do another filter/sort/next page. (which is taken into account as well).

Using firebug, I could see that the call to my "read_Oracle.php" (the server-side script) returns a 302 and no JSON.

I'm trying to work around that 302 and empty JSON ... but since the browser is calling this 3rd party authentication, it seems to fail there, so I don't think I'll get anywhere.


So, I can think of 2 ideas on the client side, but I'd need some help in implementing one of them (or both):
- adding a small button in the "Processing..." box, called something like "click here if stuck". that button would use the draw function.
- adding a timeout: after, say 3sec of "Processing...", the client would call again the read_Oracle.php.

(I could not find a plugin for one of those ideas).
Could anyone help me there ?

Cheers,
This discussion has been closed.