Shot in the dark, but if JabberCOM uses WinInet, you shouldn't be using it
from a service, which is what ASP is running under.  If the same thing works
in cscript, that's a tip off.

-----Original Message-----
From: ravindra bommineni [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 6: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