I'm new to jqGrid and I've been looking through documentation to try to find a solution to my problem.
My jqGrid makes an ajax request to a php file protected by an ACL mechanism. This works fine, however, it is possible that the PHP session can expire. So next time the user tries to refresh the results, I get back the html for the login page.
My question is this, is there a way for me to check the data AFTER the ajax call is made. I have set up my PHP to send back json in the form of “{sessionExpired: true}” when the users tries to access this page with an expired session. I want to be able to check for that condition and handle it properly. With jQuery's ajax, I'd use the success event, but I can't seem get anything like that to work for jqGrid.
Any ideas?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top