|
Hi All,
I have created one windows mobile application in MFC, which download some files from internet.
For that I am taking internet settings and authentication data from user.
I manually set the setting using InternetSetOptions().
And I implement the IAuthenticate interface to authenticate the request.
When I download files using valid username, and password first time, it download successfully.
But, when I download files using invalid username, then also it download files. In this case, I am not closing my application for second attempt.
When I restart the application and download files using invalid username and password, then it failed.
I think, while downloading second time, it refers authentication done for first time.
And It may be because of cookies.
Is there any method to delete cookies of own application?
If any one have idea about it, then please let me know.
Thanks & Regards,
Pariksheet.
|