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

ASP.NET

 
QuestionRe: Error in my Entity Framework connection string Pin
Stephen Holdorf5-Jul-14 10:44
Stephen Holdorf5-Jul-14 10:44 
QuestionRe: Error in my Entity Framework connection string Pin
Stephen Holdorf5-Jul-14 10:57
Stephen Holdorf5-Jul-14 10:57 
AnswerRe: Error in my Entity Framework connection string Pin
sankarsan parida6-Jul-14 7:49
professionalsankarsan parida6-Jul-14 7:49 
QuestionRe: Error in my Entity Framework connection string Pin
Stephen Holdorf6-Jul-14 13:54
Stephen Holdorf6-Jul-14 13:54 
AnswerRe: Error in my Entity Framework connection string Pin
sankarsan parida6-Jul-14 18:55
professionalsankarsan parida6-Jul-14 18:55 
QuestionDynamic menu problem when chaning from english to arabic language Pin
md_ismailz2-Jul-14 23:59
md_ismailz2-Jul-14 23:59 
QuestionHow to handle Invalid Session State on callback Pin
David Mujica1-Jul-14 11:00
David Mujica1-Jul-14 11:00 
AnswerRe: How to handle Invalid Session State on callback Pin
Kornfeld Eliyahu Peter1-Jul-14 19:14
professionalKornfeld Eliyahu Peter1-Jul-14 19:14 
The fact that your session is went done will not stop the web page to work perfectly correct! ViewState and all the related info was posted to the client (in hidden fields) and will be reused on the next post-back. The only problem with session down is authentication and data you stored on the session (ASP.NET engine do not store nothing on the session by default)...
More! You are using down-casting here which can be very dangerous...Who told you GetLastError will return an HttpException! Maybe it's a SystemException or a plain Exception?!
Also, if you read explanations of the error codes you use, you will see that none of them is connected to session end - http://msdn.microsoft.com/en-us/library/system.web.management.webeventcodes(v=vs.110).aspx[^]
If you want to catch session end - and maybe set a flag for later use - see for Globla.asax...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

GeneralRe: How to handle Invalid Session State on callback Pin
David Mujica2-Jul-14 2:44
David Mujica2-Jul-14 2:44 
AnswerRe: How to handle Invalid Session State on callback Pin
Kornfeld Eliyahu Peter2-Jul-14 2:51
professionalKornfeld Eliyahu Peter2-Jul-14 2:51 
GeneralRe: How to handle Invalid Session State on callback Pin
David Mujica2-Jul-14 10:39
David Mujica2-Jul-14 10:39 
GeneralRe: How to handle Invalid Session State on callback Pin
Kornfeld Eliyahu Peter2-Jul-14 16:50
professionalKornfeld Eliyahu Peter2-Jul-14 16:50 
QuestionHow to populate Model that has a property referring to detail\child table in MVC 4 Pin
jeAntoni1-Jul-14 6:56
jeAntoni1-Jul-14 6:56 
AnswerRe: How to populate Model that has a property referring to detail\child table in MVC 4 Pin
Gourab Bose8-Jul-14 21:28
Gourab Bose8-Jul-14 21:28 
QuestionResize image without change in master image Pin
mor kan1-Jul-14 4:26
mor kan1-Jul-14 4:26 
AnswerRe: Resize image without change in master image Pin
Richard Deeming1-Jul-14 5:49
mveRichard Deeming1-Jul-14 5:49 
GeneralRe: Resize image without change in master image Pin
mor kan1-Jul-14 7:58
mor kan1-Jul-14 7:58 
GeneralRe: Resize image without change in master image Pin
mor kan1-Jul-14 8:03
mor kan1-Jul-14 8:03 
GeneralRe: Resize image without change in master image Pin
Richard Deeming1-Jul-14 8:31
mveRichard Deeming1-Jul-14 8:31 
Questionctl Prefix in ClientID Pin
Ali Al Omairi(Abu AlHassan)30-Jun-14 2:22
professionalAli Al Omairi(Abu AlHassan)30-Jun-14 2:22 
AnswerRe: ctl Prefix in ClientID Pin
Kornfeld Eliyahu Peter30-Jun-14 3:29
professionalKornfeld Eliyahu Peter30-Jun-14 3:29 
GeneralRe: ctl Prefix in ClientID Pin
Ali Al Omairi(Abu AlHassan)1-Jul-14 0:41
professionalAli Al Omairi(Abu AlHassan)1-Jul-14 0:41 
AnswerRe: ctl Prefix in ClientID Pin
Kornfeld Eliyahu Peter1-Jul-14 0:43
professionalKornfeld Eliyahu Peter1-Jul-14 0:43 
GeneralRe: ctl Prefix in ClientID Pin
Ali Al Omairi(Abu AlHassan)1-Jul-14 21:51
professionalAli Al Omairi(Abu AlHassan)1-Jul-14 21:51 
AnswerRe: ctl Prefix in ClientID Pin
Kornfeld Eliyahu Peter1-Jul-14 21:54
professionalKornfeld Eliyahu Peter1-Jul-14 21:54 

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.