< HTTP/1.1 302 Moved Temporarily
< Date: Sat, 17 Oct 2009 05:01:06 GMT
< Server: Apache-Coyote/1.1
< P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa TAIa PSAa PSDa OUR BUS ONL COM NAV INT STA PRE UNI"
< Pragma: no-cache
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Cache-Control: no-cache
< Cache-Control: no-store
< Location: http://www.shutterfly.com/oflyuser/grantPermission.sfly;jsessionid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
< Content-Language: en-US
< Content-Length: 0
< Set-Cookie: JSESSIONID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; Path=/
< Set-Cookie: masterServer=serverName:www.shutterfly.com&serverIP:172.16.113.8&sessionId:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; Domain=.shutterfly.com; Path=/
< Set-Cookie: trialSeed=512; Domain=.shutterfly.com; Expires=Fri, 13-Jul-2012 05:01:07 GMT; Path=/
< Set-Cookie: sflyversion=O; Domain=.shutterfly.com; Path=/
< Set-Cookie: lb=xxxxxxxxxx-app233.internal.shutterfly.com; Path=/
< Set-Cookie: visitor=xxxxxxxxxxxxxxxxxxxxxxxx; Domain=.shutterfly.com; Expires=Fri, 13-Jul-2012 05:01:07 GMT; Path=/
< Set-Cookie: BIGipServerAPP-A-LR=141627564.20480.0000; path=/
< Content-Type: text/plain
my code follows redirect, and from that point I'm only getting back redirects to /signup/start.sfly and /signup/viewSignup.sfly alternately. the fid and jsessionidparameters are different every time:
< Location: http://www.shutterfly.com/signup/start.sfly?fid=xxxxxx
< Location: https://www.shutterfly.com/signup/viewSignup.sfly?fid=xxxxxx
< Location: http://www.shutterfly.com/signup/start.sfly;jsessionid=xxxxxxx?requestedURLFromTimeout=%2Fsignup%2FviewSignup.sfly
< Location: https://www.shutterfly.com/signup/viewSignup.sfly?fid=xxxxxx
< Location: http://www.shutterfly.com/signup/start.sfly;jsessionid=xxxxxxxxxx?requestedURLFromTimeout=%2Fsignup%2FviewSignup.sfly
< Location: https://www.shutterfly.com/signup/viewSignup.sfly?fid=xxxxxx
< Location: http://www.shutterfly.com/signup/start.sfly;jsessionid=xxxxxxxxxx?requestedURLFromTimeout=%2Fsignup%2FviewSignup.sfly
< Location: https://www.shutterfly.com/signup/viewSignup.sfly?fid=xxxxxxx
< Location: http://www.shutterfly.com/signup/start.sfly;jsessionid=xxxxxxx?requestedURLFromTimeout=%2Fsignup%2FviewSignup.sfly
Just in case it's interesting, my code is using curl on PHP 5.2.5, running on apache.
Any help would be appreciated.
Thanks,
Dan Bar-Shalom