This project is read-only.

Multiple _RequestVerificationToken s Being Sent

Topics: General
Nov 19, 2013 at 3:46 AM
Edited Nov 19, 2013 at 3:47 AM
I've been noticing this random issue where I get bounced from the dashboard every other request. When viewing the network traffic, it appears that I'm sending 2 different RequestVerificationToken_s back to Orchard. Any idea what would or may be causing this?
Nov 19, 2013 at 7:13 AM
Based on Bertrand's feedback, I added a machineKey to my web.config. However, I'm now getting a very, very odd anti-forgery exception. It's acting as though the app has a web.config that has the machineKey set to auto-generate. But, that's not the case as there is only a single web node. Any help is appreciated.

The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.
Nov 19, 2013 at 7:31 AM
Nevermind. This is taken care of.
Marked as answer by jgaylord on 11/18/2013 at 11:31 PM