1.

How Do You Create A Permanent Cookie?

Answer»

If you are DEVELOPING web services and the cookies need to be travelled across multiple requests, then it need to have PERMANENT or persistant cookie. In ORDER to do this, you have to set your webserivce CookieContainer to a newly created Cookie Container, and set its cookie to a session value and then store the cookie(s) into the SERVICE CookieCollection from that cookie container if something is there otherwise ADD cookie to the container.

If you are developing web services and the cookies need to be travelled across multiple requests, then it need to have permanent or persistant cookie. In order to do this, you have to set your webserivce CookieContainer to a newly created Cookie Container, and set its cookie to a session value and then store the cookie(s) into the Service CookieCollection from that cookie container if something is there otherwise add cookie to the container.



Discussion

No Comment Found