[JDEV] how to connect to jabber server using asp

ravindra bommineni ankpova at yahoo.com
Fri May 25 17:27:55 CDT 2001


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/



More information about the JDev mailing list