Click here to Skip to main content
15,888,984 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: showing dialog box n locking background screen... Pin
Abhijit Jana28-Dec-08 3:52
professionalAbhijit Jana28-Dec-08 3:52 
QuestionRe: showing dialog box n locking background screen... Pin
sarang_k28-Dec-08 15:46
sarang_k28-Dec-08 15:46 
AnswerRe: showing dialog box n locking background screen... Pin
N a v a n e e t h28-Dec-08 17:07
N a v a n e e t h28-Dec-08 17:07 
QuestionRe: showing dialog box n locking background screen... Pin
sarang_k28-Dec-08 17:09
sarang_k28-Dec-08 17:09 
AnswerRe: showing dialog box n locking background screen... Pin
N a v a n e e t h28-Dec-08 18:51
N a v a n e e t h28-Dec-08 18:51 
AnswerRe: showing dialog box n locking background screen... Pin
Ravi Munde28-Dec-08 19:50
Ravi Munde28-Dec-08 19:50 
QuestionHow I redirect after session timeout? Pin
Ravi Munde28-Dec-08 0:36
Ravi Munde28-Dec-08 0:36 
AnswerRe: How I redirect after session timeout? Pin
Colin Angus Mackay28-Dec-08 7:12
Colin Angus Mackay28-Dec-08 7:12 
First thing to remember always is that web applications are stateless, despite what the ASP.NET framework has set up for you to kid you on that it is stateful. This means that ASP.NET is using a number of "parlour tricks" to allow you to develop stateful web applications while hiding the real architecture of web applications. Sometimes the "parlour tricks" don't work the way you expect simply because there is no real substance as there would be in a real stateful architecture (e.g. WinForms)

1. When you say it is not redirecting to the log in page after the session time out, are you sitting waiting at your browser expecting after one minute for it to automatically update your page? That isn't going to happen because it is up to the client to do that, but all your code is at the server.

You have two choices that I can think of off the top of my head: (1) Add some javascript that peforms the redirection for you, or (2) use a meta refresh[^] to do it.

2. The Session_End event handler is not called in response to a user request, therefore, without the request there can be no response. The session is just another of ASP.NET "parlour tricks" to give you state information to make it appear that you are developing against a stateful architecture.


QuestionGridView Populating n making every field a button Pin
vaibhavbaweja27-Dec-08 22:30
vaibhavbaweja27-Dec-08 22:30 
AnswerRe: GridView Populating n making every field a button Pin
cmpemikail27-Dec-08 22:38
cmpemikail27-Dec-08 22:38 
AnswerRe: GridView Populating n making every field a button Pin
Abhijit Jana28-Dec-08 4:18
professionalAbhijit Jana28-Dec-08 4:18 
GeneralRe: GridView Populating n making every field a button Pin
vaibhavbaweja28-Dec-08 4:22
vaibhavbaweja28-Dec-08 4:22 
QuestionPlease Help its urgent!!!!!!!!!!!!!!!!!!!! Pin
savianand27-Dec-08 20:01
savianand27-Dec-08 20:01 
AnswerRe: Please Help its urgent!!!!!!!!!!!!!!!!!!!! Pin
Nishant Singh27-Dec-08 21:01
Nishant Singh27-Dec-08 21:01 
AnswerRe: Please Help its urgent!!!!!!!!!!!!!!!!!!!! Pin
Abhijit Jana28-Dec-08 3:50
professionalAbhijit Jana28-Dec-08 3:50 
AnswerRe: Please Help its urgent!!!!!!!!!!!!!!!!!!!! Pin
Christian Graus28-Dec-08 7:31
protectorChristian Graus28-Dec-08 7:31 
QuestionHello EveryOne Pin
naim khan27-Dec-08 18:36
naim khan27-Dec-08 18:36 
AnswerRe: Hello EveryOne Pin
cmpemikail27-Dec-08 21:11
cmpemikail27-Dec-08 21:11 
AnswerRe: Hello EveryOne Pin
Abhijit Jana28-Dec-08 4:03
professionalAbhijit Jana28-Dec-08 4:03 
QuestionPosting an html code to asp.net Pin
cmpemikail27-Dec-08 11:30
cmpemikail27-Dec-08 11:30 
AnswerRe: Posting an html code to asp.net Pin
Colin Angus Mackay27-Dec-08 14:28
Colin Angus Mackay27-Dec-08 14:28 
QuestionRunning method in frequent Intervals --Webservice Pin
SatyaVas27-Dec-08 7:08
SatyaVas27-Dec-08 7:08 
QuestionPayroll System Pin
monika_vasvani27-Dec-08 5:32
monika_vasvani27-Dec-08 5:32 
AnswerRe: Payroll System Pin
Aman Bhullar27-Dec-08 6:10
Aman Bhullar27-Dec-08 6:10 
QuestionI want to discuss about a web project.Can I? Pin
R111927-Dec-08 3:35
R111927-Dec-08 3:35 

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.