c# - Asp .net Forms Authentication token using pure javascript -
How can I do something like this:
request. Cookies [FormatsAuthentication.Formkeyname] .Value In JavaScript?
You can not do anything like this in the Javascript authentication cookies when emitted by ASP.NET, whose This means that client scripts can not access them (and of course for security reasons). If this was not a HTTP flag, you can access cookies in JavaScript using variables, but as I said it does not apply to cookies (they will not be part of it).
Comments
Post a Comment