I think you might have a bigger problem ... and that is that the jabber
session will expire when the page ends ...

-----Original Message-----
From: ravindra bommineni [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 5:28 PM
To: [EMAIL PROTECTED]
Subject: [JDEV] how to connect to jabber server using asp

hi

i am trying to connect to jabber from my asp program.i
wrote program like this.

        Set Jsession =
Server.CreateObject("JabberCom.JabberSession")

        Jsession.Username = Request("uName")
        Jsession.Password = Request("pass")
        Jsession.Resource = Request("resource")
        Jsession.Server = Request("server")
               
         'If user is new       
         If Request("newone") = "on" Then
                Jsession.DoConnect True,jatPlain
         'If user is already registered one
         Else
                Jsession.DoConnect False,jatPlain
         End If
       
now i am trying to print the connection status like

Response.write Jsession.Active

but every time it is printing False.why?please help me
on this as soon as possible.where can i found more
details about JabberCOM?

Thanks
Ravindra

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to