开发者

passing cookie to my webbrowser

I m trying to develop an app for WP7 in Visual Studio 2010 in C#. I have a specific use case. I want to upload some photos to a website which hosts photos. First I launch the webbrowser to authenticate once I get authenticated I select a particular picture and upload it. after that I m trying to launch the browser it should automatically login with the credentials passed earlier. I have tried some methods but did not work. So here is my requirement

1) I want to store the login credentials ente开发者_如何学编程red to my web browser using a cookie or a file.

2) I want to pass the same credentials to the webbrowser when its launched again after sometime.

Please help me to solve this issue.

Thanks in advance


Why don't you just keep your browser open? You can get the cookies using the GetCookies method, but it doesn't seem to be a way of setting them back.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜