0 Replies Latest reply on May 1, 2007 11:12 PM by kiran.krishh

    how to use webservice.header property

      I am trying to connect to a asp.net web service. When a user logs in, the flex application gets a session id which it has to give in the header for subsequents requests to web services. I am using the Header property of the WebService class to do the same. But when i try to set the value to the Header it is not reflected in the request that is being sent when seen in a sniffer. Here is the code snippet of how i am setting the header of Webservice class :

      userRequest.headers = "Cookie: ASP.NET_SessionId=" + this.sessionId;

      where userRequest is a instance of Webservice class.

      plz help me if i am doing any mistake in setting the value.
      thanks in advance for any help give...