[JDEV] how to connect to jabber server using asp

Max Metral Max.Metral at PEOPLEPCHQ.COM
Fri May 25 19:23:36 CDT 2001


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:ankpova at yahoo.com]
Sent: Friday, May 25, 2001 6:28 PM
To: jdev at jabber.org
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
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list