I now tried to use ape's session management and when the user logs out
of my website, I call
        Cookie.dispose('APE_Cookie', {'domain': document.domain});

If another user logs in using the same browser everything works fine
now - chat names are changing according to the logged in user.
But if the same user logs in, then out and in again there is still the
45 sec problem. The 2nd time logging in the value of this cookie is
just "null" at the beginning. Why is this, as the APE_Cookie got
deleted successfully and should be created new?


Also, sometimes I get a strange error "this.currentPipe is not an
object" and thus the chat doesn't get loaded fully. Did anyone have
the same problem before?




On Apr 24, 6:45 pm, "BlackHe@art" <[email protected]> wrote:
> Hi,
>
> I am programming a community page where the users have to define an
> unique chat name while registering for the page. So I decided that I
> don't need the session management and "prompt chat name" part of the
> chat demo - instead I call the chat with the users chat name in the
> options.
> I commented all those parts and it works great except one little
> thing. When I navigate within my page and navigate back, the chat
> doesn't load anymore - only after 45 sec it is loading again.
> I tried lots of things like e.g. this.core.clearSession(); or
> this.reset(); but nothing helps.
> In demo.js within
>                 this.addEvent('load', this.start);
>                 this.addEvent('ready', this.createChat);
> this.start is getting called but not this.createChat.
>
> Does anybody have a hint for me how to modify the code so that the
> server timeout is not only called after 45 sec but everytime i
> navigate to my chat page?

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" 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/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to