WebMatrix AntiForgery.GetHtml() problem #193

Closed
srdjo opened this Issue May 31, 2013 · 1 comment

2 participants

@srdjo

Hi,

There is a problem when using

table.Update(Request.Form)

If the form contains AntiForgery.GetHtml() then it renders a hidden field that is appended to the update query and the same field does not exist in the table.

The exception is thrown - Invalid column name '__RequestVerificationToken'.

How can the field '__RequestVerificationToken' be excluded from the update ?

@robconery
Collaborator

I'll be removing this method altogether - suggest not to use it.

@robconery robconery closed this Jun 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment