-
1. Re: Is there a way to send a little ajax request like a4j:pu
ilya_shaikovsky Dec 11, 2008 5:30 AM (in response to liuliu)you could use poll to send request periodically or support on onchange event as it shown at demo.
-
2. Re: Is there a way to send a little ajax request like a4j:pu
liuliu Dec 11, 2008 6:41 AM (in response to liuliu)
thanks for your reply.
yes, with onchange event i can do what i want. But I think it is better if i can send the mini request like a4j:push. Is it possible?
liu -
3. Re: Is there a way to send a little ajax request like a4j:pu
ilya_shaikovsky Dec 11, 2008 6:47 AM (in response to liuliu)only poll, push request did not pass through Faces lifecycle except the case when the event actually present at server. So it will not keep your session.
-
4. Re: Is there a way to send a little ajax request like a4j:pu
liuliu Dec 11, 2008 8:51 AM (in response to liuliu)
a4j:push don't keep the session active??? I don't think so.
because this is just one of my problems 2 weeks ago. My application has a short session expire time(10 minutes), but if the user open the page with a a4j:push and go away, his session will never be time out,and his connection is always active. This can not happen if you are right, is not it?
Liu