Forum Moderators: open

Message Too Old, No Replies

.NET and the 302

/Default.aspx?AspxAutoDetectCookieSupport=1

         

ogletree

4:23 pm on Aug 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ok when I use a header checker I get

HTTP/1.1 302 Found =>
Connection => close
Date => Fri, 31 Aug 2007 16:22:56 GMT
Server => Microsoft-IIS/6.0
X-Powered-By => ASP.NET
X-AspNet-Version => 2.0.50727
Location => /Default.aspx?AspxAutoDetectCookieSupport=1
Set-Cookie => AspxAutoDetectCookieSupport=1; path=/
Cache-Control => private
Content-Type => text/html; charset=utf-8
Content-Length => 160

Is there any way to stop this from happening? I don't want to have my site load a 302.

pageoneresults

4:37 pm on Aug 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What's the bot getting?

What's the visitor getting?

I've seen setups where a 302 was served to visitors and a bot got a 200. The 302 was used in conjunction with a visitor ID. The requested URI www.example.com/WithoutSessionID is 302'd to the /WithSessionID. The bots get a 200 /WithoutSessionID.

ogletree

9:16 pm on Aug 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



this is odd. It gives a 200 to a browser and a 302 to a bot. I also found what is causing that weird URL I talked about in that other thread [webmasterworld.com]. When I turned off cookies in firefox I got the real weird URL. it only does this in Firefox. I still get a 200 when I turn off cookies.