thanks for the reply... i looked at ejabberd config and could not find a connection timeout in the file, any pointers on what i should be looking?
This is the what I'm trying to achieve,
As soon as a user gets authenticated the user should be able to send and receive XMPP messages (like in facebook, where as soon as i login chat is enabled).
so, i would like to put sid and rid into the database, when a user gets authenticated, sid & rid will come back and the user is ready to make XMPP requests, immediately upon authentication.
So there is no specific pause time, user can come back in a few mins, hrs or even days. is this feasible?
i'm planning to create a service to create sid and rid for users and put them in the database, is there an easier way to achieve instant XMPP connection like in facebook?