Hi,
We have a SharePoint 2013 publishing site, with a custom master page.
Occasionally the request digest doesn't seem to get generated properly by the server-side FormDigest control. When viewing the page source, I can occasionally see the following markup:
<input name="__REQUESTDIGEST" id="__REQUESTDIGEST" type="hidden" value="InvalidFormDigest"/>
I've verified that the InvalidFormDigest value obviously gets sent back to the server, which causes OTB functionality, such as the note board web part to fail when trying to post a note.
This behavior is random, i.e. this doesn't happen every time I load a page. Also, I've only seen this behavior in a single environment so far. The same site is working fine in other environments. The installation has been scripted, so the site is identical (apart from content obviously) in all environments.
The master page does have the FormDigest control added, but it seems to fail sometimes:
<SharePoint:AjaxDelta id="DeltaFormDigest" BlockElement="true" runat="server"><asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server"><SharePoint:formdigest ID="Formdigest1" runat="server" /></asp:ContentPlaceHolder></SharePoint:AjaxDelta>
As this is a publishing site, I was wondering if the AjaxDelta control could be causing issues here?
I'm not sure if this is a developer or an issue with the environment's setup. The site is secured with SSL. Another bit of information, that might be relevant, is that the site's url has been changed at one point.
I wasn't able to find anything relevant in ULS logs.
Thanks for any ideas,
Jarno