none
InternetSetCookie from a windows service failing - error code 0 RRS feed

  • Question

  • Hello All,

    I am working on a windows service application. This service will refresh a cookie at the specified interval. I am using InternetSetCookie to do the job. This works fine in a console application but the same piece of code not working in a windows service. GetLastError returns 0.  I have tried with different logon options for the service, but no positive result.

    Please help me on this.  Is there any alternative for InternetSetCookie?

    Thank you.


    silambarasan.P

    • Moved by 宝宝徐 Wednesday, January 3, 2018 5:54 AM
    Tuesday, January 2, 2018 9:15 AM

Answers

All replies