I am trying to create a script that goes to a web page and captures a report - everything works GREAT, except - I get
HTTP/1.1 302 MovedTemporarily Date: Mon, 22 Jun 2009 13:22:04 GMT Server: Server x-some-id-1: 0J3X3VBBCGNJG9V46G5D x-some-id-2: BtQ4SsDhbryWgiVNFcVpMbt898GuPIBaWuGwAWjvsyI= Set-cookie: session-id-time=1246258800l; path=/; domain=.example.com; expires=Mon Jun 29 07:00:00 2009 GMT Set-cookie: session-id=179-5933843-4704124; path=/; domain=. example.com; expires=Mon Jun 29 07:00:00 2009 GMT Location: https://example.com Vary: Accept-Encoding,User-Agent nnCoection: close Content-Type: text/html; charset=UTF-8 Content-Length: 0
The answer, and I have no idea how to stop it. I tried the settings
httpwebrequest.allowautoredirect is both "True" and "False", and nothing helps.
He's trying to go crazy, since I can log in to the site via https: //, but then will I get it back?
Andy
source share