Click here to Skip to main content
15,889,877 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
Questionhow to initialize master page items in ASP.Net MVC Pin
reza_shmki4-Apr-14 18:29
reza_shmki4-Apr-14 18:29 
AnswerRe: how to initialize master page items in ASP.Net MVC Pin
Schatak6-Apr-14 23:04
professionalSchatak6-Apr-14 23:04 
QuestionBest way to persist more than 100 values across postback in Asp.net 3.5 Pin
Lalit Kumar Jain4-Apr-14 0:52
Lalit Kumar Jain4-Apr-14 0:52 
AnswerRe: Best way to persist more than 100 values across postback in Asp.net 3.5 Pin
Blikkies4-Apr-14 1:20
professionalBlikkies4-Apr-14 1:20 
GeneralRe: Best way to persist more than 100 values across postback in Asp.net 3.5 Pin
Lalit Kumar Jain6-Apr-14 21:54
Lalit Kumar Jain6-Apr-14 21:54 
QuestionPage_Load event raises when I open jquery dialog window from User Control Pin
abhishek.mumbai3-Apr-14 20:14
abhishek.mumbai3-Apr-14 20:14 
SuggestionRe: Page_Load event raises when I open jquery dialog window from User Control Pin
Blikkies3-Apr-14 23:10
professionalBlikkies3-Apr-14 23:10 
Answerinhibit Postback when clicking a Button Pin
Ferd Really17-Apr-14 7:40
Ferd Really17-Apr-14 7:40 

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.