Pocket Pc Re:How to delete cookies? - Pocket PC Forums

 
  • Increase font size
  • Default font size
  • Decrease font size
Pocket PC Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:How to delete cookies? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:How to delete cookies?
#2351
Pariksheet (User)
PPC Senior
Posts: 60
graphgraph
User Offline Click here to see the profile of this user
How to delete cookies? 8 Months, 1 Week ago Karma: 0  
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2352
Carty (Admin)
Admin
Posts: 1122
graph
User Online Now Click here to see the profile of this user
Re:How to delete cookies? 8 Months, 1 Week ago Karma: 20  
There could be a lot of possibilities for your case. Firstly, the website may allow the IP address or the current connection to keep downloading files once logged in and in that case, you must use the logout function provided by the website you download the files from.

If that isn't the case, then try closing your connection right after downloading the file or create a new connection every time you try to verify a user name and password.

Hope this helps.

Regards,
Carty..
 
Report to moderator   Logged Logged  
 
Check out the new Windows Mobile App Store. And also our sister site PcXplore.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Advertisements

desktop wallpapers
reverse phone lookup