|
Hi I'm using some code written by Troy, but I can't determine what is the cause of an error. If i run the script in IE I get results but from the linux webserver cron job, I get a 302 location changed. I've tried substituting to the new location address, but that returns the same.
Here's the header:
Status: 302
HTTP/1.1 302 Found
Connection: close
Date: Mon, 01 Jan 2008 12:44:20 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /Help/Error/?aspxerrorpath=/ds/hardware/hardwarebundle/Default.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 184
*game domain*"/ds/hardware/hardwarebundle"
The url is above abbreviated on the domain part, since I haven't asked their permission.
-----------------------------------------------------------
When I run this file as a user in IE it works fine, but I don't know why? Here's the user output below.
-------------------------------------------------------------
HTTP/1.1 200 OK
Connection: close
Date: Wed, 23 Jan 2008 12:34:22 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: ASP.NET_SessionId=kaoz5dnzhkgdnoimqgbhax45; path=/; HttpOnly
Set-Cookie: LiveEnvBasketId=; expires=Fri, 22-Feb-2008 12:34:22 GMT; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 34054
-----------------------------------------------------------
Any suggestions would be grate
|
|
|
|
|
|
|
// |