That would be:
LiftRules.redirectAjaxOnSessionLoss = false
Cheers, Tim
On 20 Nov 2009, at 00:54, David Pollak wrote:
If you don't like the feature, you can turn it off in LiftRules (I don't
remember the property off hand, but I'm sure someone else can help me.)
--
You received this
Thanks Tim.
Do you happen to know any way of also removing this line from my
webpages:
script type=text/javascript src=/ajax_request/liftAjax.js
- Alex
On Nov 20, 5:25 am, Timothy Perrett timo...@getintheloop.eu wrote:
That would be:
LiftRules.redirectAjaxOnSessionLoss = false
Cheers, Tim
I believe LiftRules.autoIncludeAjax controls this -- its value is a
function that determines on a per-session basis whether the AJAX
script should be included, for example to disable it site-wide:
LiftRules.autoIncludeAjax = session = false
-Ross
On Nov 20, 2009, at 10:43 AM, Alex Black
Thanks, that works great.
On Nov 20, 10:51 am, Ross Mellgren dri...@gmail.com wrote:
I believe LiftRules.autoIncludeAjax controls this -- its value is a
function that determines on a per-session basis whether the AJAX
script should be included, for example to disable it site-wide:
Yep, I am doing mvn jetty:run.. ok, I've edited my pom.xml, I'll keep
an eye out and see how it goes.
Related question: I see my pages have this in them:
script type=text/javascript src=/ajax_request/liftAjax.js
I'm not yet using any ajax stuff, can I remove that until I need it? I
don't see it
After changing that setting, i'm still seeing these requests:
INFO - Service request (POST) /ajax_request/F688441898562ZPV/ took 9
Milliseconds
That must be something called by that ajax script? Is there a way I
can turn this off until I need it?
- Alex
On Nov 19, 5:40 pm, David Pollak
I just did some work, restarted jetty, and upon startup saw that it
processed two requests (that I hadn't initiated):
INFO - Service request (POST) /ajax_request/F374747850325CGX/ took 104
Milliseconds
INFO - Service request (GET) / took 22 Milliseconds
I then looked at my browser and it has
On Thu, Nov 19, 2009 at 3:18 PM, Alex Black a...@alexblack.ca wrote:
I just did some work, restarted jetty, and upon startup saw that it
processed two requests (that I hadn't initiated):
INFO - Service request (POST) /ajax_request/F374747850325CGX/ took 104
Milliseconds
INFO - Service
thanks for the explanation. Can you tell me a bit more about that?
Not knowing anything about this it seem unfamiliar to me.
Say we had customers using our site, and we restarted one of our
webservers, the customers wouldn't expect to be redirected to /.
They'd expect to just keep on browsing as
On Thu, Nov 19, 2009 at 3:31 PM, Alex Black a...@alexblack.ca wrote:
thanks for the explanation. Can you tell me a bit more about that?
Not knowing anything about this it seem unfamiliar to me.
Say we had customers using our site, and we restarted one of our
webservers, the customers
Yeah I'm currently approaching the stateful aspect of Lift with some
trepidation, so for now trying to avoid it, for exactly this type of
reason.
If someone could point out how to disable the mechanism that is
redirecting the page, and making periodic ajax requests I'd appreciate
it, thanks!
-
11 matches
Mail list logo