Hi, I am new to lift so I hope this is not an ignorant question/problem. I am having a problem where my json handler stops working. I believe it is timing out independent of the session. If I have my browser open for a short while, the json functions stop working but the ajax functions keep working. I have tried to track the time and find more details but I have not found the exact timeout. I believe it might be the 10 minute default timeout. It appears that the json functions continue to work if they are periodically called. Refreshing the page does not help. The json functions work again if I delete the cookie (and thus, get a new session).
This problem also occurs at http://demo.liftweb.net/json_more (This is the example I started with.) In the demo app the server interaction on the json_more page stops working but the server interaction from "AJAX Samples" still works. I have tried changing LiftRules.enableLiftGC but this did not fix the problem. I have also tried the JsonHandler both as and not as a SessionVar. I have looked at S.functionLifespan but I am not sure how a app can use this. It seems to mostly be used internally when manipulating the function list. Is there a way I prevent my json handler from being garbage collected or a way to "touch" it periodically so that it does not expire? I am using liftweb-1.1m4 and jetty 6.1.20. In the time I wrote this, I was able to reproduce the problem on demo.liftweb.net. Thanks, Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
