[jdev] Problems with caching

Jana von dem Berge jvdberge at web.de
Thu Oct 21 08:10:24 CDT 2004


Hello, 

I want to suspend a buddy if I want. I do it by moving the xml-file of the buddy to another directory.
When the buddy was online, I had the Problem with caching. 
I puttet a timeout-tag with the value 0 to the xdb-session in the jabber.xml-file. But there was still the Problem, when the user was online.
So I implemented in my client that it logs out when there comes a special message with a special subject.
Now I send the client a message with this subject before moving the file to the other directory.

Now I move the file to the other directory, and the server caches the jabber:iq:last to the original xml-file, so the file looks like this:

<xdb><query...jabber:iqlast...></xdb>

(only with this data, no username or password)

But the client can still log on for a while, for about one minute he can log on, after that he is unauthorized. I can't understand that. Does the jabber server store the xml-file in a temporary space? And does he load the spool from time to time new?

Thanks a lot
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201




More information about the JDev mailing list