How do I use Cookies and the information contained in them



Using a VB.NET application with WebRequest and HttpWebResponse classes I
connect to an SSL enabled web site. Using the WebClient class I then attempt
to download a file. However, the download fails.

When I access the web page via the browser the file download functions
correctly.

Using netmon I found that a cookie is created when I access the web site via
the browser. When I access the web page via the application a cookie is not
created.

How can I request a cookie from the web server?
How do I access the information in the cookie and send it back to the web
server?


Thanks

.



Relevant Pages

  • Re: Suggestions on creating a File Download area
    ... > I'm in the process of setting up a web site that will allow users to ... > towards having a download area that users can log in to and simlply ... are outside the directories that the web server can access. ... or you could link the cleaning to logins. ...
    (alt.php)
  • Re: help about downloading with session and cookie support at windows application
    ... So I do not need the login cookie. ... you have to mimic the request that your browser would ... >> My Aim is to make a windows application download which support session ... >> There is a web site which gives images as links like this ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Links to *.ppsx and *.pptx on Web wont open
    ... I downloaded your PPTX file and posted it temporarily to my own web site. ... my site and yours both run under Sun OS and Apache web server. ... MSIE wants to download the PPTX ...
    (microsoft.public.powerpoint)
  • Cookies and Privacy - 2
    ... When you click on a web site, a cookie is generated on ... (Regardless of whether or not you respond ... Question is - would the originating web server identify me ...
    (microsoft.public.security)
  • Re: OSX 10.3.7 newbie issues
    ... If it's too much for you to download via dialup, ... if you have any friends who have a better internet connection. ... What does the Keychain dialog say? ... isn't used by the wrong program or sent to the wrong web site. ...
    (comp.sys.mac.apps)

Quantcast