Anonymous SharePoint pages and the QueryString
Posted on Wednesday, 06 May 2009 15:30I've recently been bamboozled by a strange SharePoint problem.
I use Page.Request.QueryString to request querystring values as many of you do, but for some reason, on certain site collections, this would fail for anonymous users. The software would totally ignore the QueryString, reading it as containing 0 objects.
I've scratched my head over this for sometime but now have the answer.
Like many we had a cache profile enabled for our public facing anonymous pages. This is what caused the problem. We turned off the cache profile and bamg, back in business. So lesson learned, and let that be a warning to you all!