Click here to Skip to main content
15,919,358 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: web api query - 401 error Pin
Bernhard Hiller9-Apr-14 2:19
Bernhard Hiller9-Apr-14 2:19 
GeneralRe: web api query - 401 error Pin
miss78614-Apr-14 6:24
miss78614-Apr-14 6:24 
QuestionHow to save secured password for individual users Pin
antony beula8-Apr-14 2:32
antony beula8-Apr-14 2:32 
AnswerRe: How to save secured password for individual users Pin
Peter Leow8-Apr-14 2:44
professionalPeter Leow8-Apr-14 2:44 
AnswerRe: How to save secured password for individual users Pin
Richard Deeming8-Apr-14 3:07
mveRichard Deeming8-Apr-14 3:07 
QuestionExporting Repeater values in to Excel Pin
indian1437-Apr-14 14:39
indian1437-Apr-14 14:39 
AnswerRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 2:24
professionalSchatak8-Apr-14 2:24 
GeneralRe: Exporting Repeater values in to Excel Pin
indian1438-Apr-14 7:08
indian1438-Apr-14 7:08 
GeneralRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 21:18
professionalSchatak8-Apr-14 21:18 
GeneralRe: Exporting Repeater values in to Excel Pin
indian1439-Apr-14 7:33
indian1439-Apr-14 7:33 
GeneralRe: Exporting Repeater values in to Excel Pin
Schatak10-Apr-14 2:08
professionalSchatak10-Apr-14 2:08 
GeneralRe: Exporting Repeater values in to Excel Pin
indian14310-Apr-14 6:31
indian14310-Apr-14 6:31 
GeneralRe: Exporting Repeater values in to Excel Pin
indian14310-Apr-14 6:58
indian14310-Apr-14 6:58 
QuestionTFS build error Pin
indian1437-Apr-14 8:55
indian1437-Apr-14 8:55 
QuestionImage galleries Pin
Keith888887-Apr-14 5:53
Keith888887-Apr-14 5:53 
QuestionAntiForgeryToken after session timeout Pin
littleGreenDude7-Apr-14 5:30
littleGreenDude7-Apr-14 5:30 
I'm trying to understand the lifecycle of the AntiForgeryToken.

Let's say the user starts to enter a form, and then leaves for lunch before finishing the form. When the user started to enter data, the AntiForgeryToken cookie was created.

During their absence, the session times out and the user is returned to the login screen.

Now when they return from lunch, log back in, and return to the form they were previously entering / editing, is a new token created? Or, does it recognize that a token already exists and attempts to use it?

Can anybody confirm token re-use across session timeout?

My theory is that re-use is causing an error. Because when the user returns and accesses the web page, they are now accessing a new server in the load balance farm and this causes token validation to fail. Resulting in a System.Web.Mvc.HttpAntiForgeryException
Message:A required anti-forgery token was not supplied or was invalid.
QuestionSystem.Web.UI.DataVisualization.Charting Pin
NickKa6-Apr-14 3:45
NickKa6-Apr-14 3:45 
SuggestionRe: System.Web.UI.DataVisualization.Charting Pin
thatraja9-Apr-14 2:18
professionalthatraja9-Apr-14 2:18 
QuestionPossibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Carlos j. Ramirez5-Apr-14 9:56
Carlos j. Ramirez5-Apr-14 9:56 
AnswerRe: Possibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Philippe Mori5-Apr-14 12:00
Philippe Mori5-Apr-14 12:00 
GeneralRe: Possibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Carlos j. Ramirez7-Apr-14 4:58
Carlos j. Ramirez7-Apr-14 4:58 
QuestionHow to use http://flexpaper.devaldi.com/ to share PDF file on web page Pin
bipinprem155-Apr-14 9:17
bipinprem155-Apr-14 9:17 
QuestionRe: How to use http://flexpaper.devaldi.com/ to share PDF file on web page Pin
Richard MacCutchan5-Apr-14 21:37
mveRichard MacCutchan5-Apr-14 21:37 
QuestionHow to display Regression equation and R-squared value Pin
Kandepu Rajesh4-Apr-14 20:46
Kandepu Rajesh4-Apr-14 20:46 
AnswerRe: How to display Regression equation and R-squared value Pin
Schatak4-Apr-14 22:11
professionalSchatak4-Apr-14 22:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.