Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

WebMatrix AntiForgery.GetHtml() problem #193

Closed
srdjo opened this Issue · 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.