annoying POST when loading prototype

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

annoying POST when loading prototype

Sebastian Sastre-2
Hi guys,
I've porting an app to seaside 2.9a2 and when starting to make it work I've
found an annoying POST happening just at the end of the load of the page.
That POST was not caused by any user action. It just happens on load or
something. I was messing around investigating (it also happens with seaside
2.8.3) until (don't ask me why) I've disable loading prototype in the
updateRoot:

So, if I load prototype (prototype-1.6.0.3.js) I have that sh*ty POST which
creates a new sesion and N troubles, but if I don't  load it, then is all is
just fine.

It has to be prototype because I've tested loading only jQuery and all is just
fine.

it is a known issue? any ideas/solution?
thanks,

sebastian

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: annoying POST when loading prototype

Lukas Renggli
> it is a known issue? any ideas/solution?
> thanks,

I cannot reproduce that with the scriptaculous demo application. Also
I get a single session, as expected.

What is the POST URL and what are the parameters that are posted? Can
you provide a minimal file-out?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: annoying POST when loading prototype

Sebastian Sastre-2
nevermind. It was me migrating my app that was not getting properly the period
to send a dummy request once in a while in order to keep alive sessions. By the
way, it happen because the configuration thingy changes a lot from 2.8 to 2.9a2.
I feel that configuration state should be keept outside the image. Maybe be part
of the web app.
Anyway sorry to bother with that. Keep your good work,
best,
sebastian


> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Lukas Renggli
> Enviado el: Monday, March 02, 2009 04:36
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] annoying POST when loading prototype
>
> > it is a known issue? any ideas/solution?
> > thanks,
>
> I cannot reproduce that with the scriptaculous demo application. Also
> I get a single session, as expected.
>
> What is the POST URL and what are the parameters that are posted? Can
> you provide a minimal file-out?
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside