G
Guest
Providing authentication for protected content via Basic/Digest Headers seems
pretty straight-forward, but I'm stuck trying to figure out how to do
something a little different:
say you have some sort of page of customizable content - an example might be
a portal page that you've tweaked to display your favorite headline topics,
your stock portfolio, etc. The page itself isn't protected so you won't be
challenged when you hit that site, but there's a cookie that must be
available to the server so that every time you visit the site (assuming
you've selected the nefarious 'remember me' option), you don't see the
generic page, but your own version instead.
What does that transaction look like, and how/where would your usename and
password be provided so that you can fetch the right version of the page with
a HTTPWebRequest in C#? I have access to the credentials, I just don't know
where to provide them.
Thanks in advance!
- (more) Cowbell
pretty straight-forward, but I'm stuck trying to figure out how to do
something a little different:
say you have some sort of page of customizable content - an example might be
a portal page that you've tweaked to display your favorite headline topics,
your stock portfolio, etc. The page itself isn't protected so you won't be
challenged when you hit that site, but there's a cookie that must be
available to the server so that every time you visit the site (assuming
you've selected the nefarious 'remember me' option), you don't see the
generic page, but your own version instead.
What does that transaction look like, and how/where would your usename and
password be provided so that you can fetch the right version of the page with
a HTTPWebRequest in C#? I have access to the credentials, I just don't know
where to provide them.
Thanks in advance!
- (more) Cowbell