Click here to Skip to main content
15,917,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys. I am trying to edit a cookie generated by a webbrowser in Vb.net after loading a page. Any ideas how to do it. Thanks in advance.
Posted
Updated 1-Apr-11 20:45pm
v2

Editing cookie problem
Basics of Cookies in ASP.NET

If i misunderstand your question, please feel free to correct me.
I hope the above information will be helpful. If you have more concerns, please let me know.
 
Share this answer
 
I have been able to get the cookie into a textbox using this code
txtFind.Text = webFSLogin.Document.Cookie.ToString()


But I don't know now How to make my web browser use my new cookie which is edited
 
Share this answer
 
Cookies are just text files. You can load it into a TextBox, make your changes, then save it back out. You'll have to reload the page that uses it when done.
 
Share this answer
 
thanks for the answer how do I save it and reload. Please can u give me the code for it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900