[JDEV] Is it possible to prevent registered transport layers automatically logging in?

Matthias Wimmer m at tthias.net
Sun Jan 12 08:40:04 CST 2003

Hi Philip!

Philip Shepherd wrote:

>  The only way I can implement this with my current knowledge, is to 
> delete the registrations
> each time the user logs out ... a clumnsy and bug prone solution, 
> which also requires
> passwords being stored on the client-side so that the user doesn't 
> need to re-enter them
> with regular monotony.

Before you are sending the <presence/> packet, send an individual 
presence to the transports that shows you as offline (<presence 
to='transport.domain.com' type='unavailable'/>).

Tot kijk

Fon: +49-(0)70 0770 07770	http://matthias-wimmer.de/
Fax: +49-(0)89-312 88 654	jabber://mawis@charente.de

More information about the JDev mailing list