Hi,
I have an active x ctrl on my page and using asp.net I i have built a web page that has a web service named e1.I am using CreateSessionIm personated()
but it does not Impersonate and every time asks for the user name and the password.The code is
Can anybody help me on this please.
Thankyou.
I have an active x ctrl on my page and using asp.net I i have built a web page that has a web service named e1.I am using CreateSessionIm personated()
but it does not Impersonate and every time asks for the user name and the password.The code is
e1.Url = "http://Servername/VServer/WebService.asmx "
e1.Credentials = System.Net.Cred entialCache.Def aultCredentials
ControlPlaceHol der = Me.FindControl( "PlaceHolde r1")
ControlPlaceHol der.Controls.Cl ear()
If Session("sessio nID") = "" Then
SessionHeader = e1.CreateSessio nImpersonated(s trProvider, "", "", "", "")
Session("sessio nID") = SessionHeader.I D
End If
e1.Credentials = System.Net.Cred entialCache.Def aultCredentials
ControlPlaceHol der = Me.FindControl( "PlaceHolde r1")
ControlPlaceHol der.Controls.Cl ear()
If Session("sessio nID") = "" Then
SessionHeader = e1.CreateSessio nImpersonated(s trProvider, "", "", "", "")
Session("sessio nID") = SessionHeader.I D
End If
Thankyou.
Comment