Click here to Skip to main content
15,891,657 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: HML request Pin
praveenkumar_mca24-May-07 0:29
praveenkumar_mca24-May-07 0:29 
GeneralRe: HML request Pin
Steven J Jowett24-May-07 1:25
Steven J Jowett24-May-07 1:25 
Questiondiff. between refresh and postback Pin
fgfdhghgfd23-May-07 19:21
fgfdhghgfd23-May-07 19:21 
AnswerRe: diff. between refresh and postback [modified] Pin
Sandeep Akhare23-May-07 20:48
Sandeep Akhare23-May-07 20:48 
QuestionASP.NET 2.0 C# Crystal report ,load report failed. Pin
prashesh23-May-07 19:18
prashesh23-May-07 19:18 
QuestionTrouble getting value out of a GridView cell being edited Pin
InvalidTypecast23-May-07 16:50
InvalidTypecast23-May-07 16:50 
AnswerRe: Trouble getting value out of a GridView cell being edited Pin
InvalidTypecast23-May-07 17:21
InvalidTypecast23-May-07 17:21 
QuestionThe Session, Master Pages, and you Pin
Keith Andersch23-May-07 8:27
Keith Andersch23-May-07 8:27 
Hi all.

I have a web app which uses master pages. Whithin the master page, I declare some session variables. I use these session variables in the content pages. Of course, before I use the variables in the content pages, I check to see if they are null and act accordingly. This, for the most part, works. However, a few users will tend to leave their windows open for more than 20 minutes, killing the session. They try to go somewhere else in the web app and gets the nice exception is thrown because the session variables are null. (I redirect the exceptions to a nice looking error page)

I'm starting to think that having the session variables declared in the master page is a bad choice on my part. In my readings of Asp.Net, I found that the content pages are created first and then the master pages which is probably leading to the session vars not being reloaded in time. Has anybody else seen this issue? Is there a simple workaround or am I gonna have to bite the bullet and do some redesigning?

Keith
AnswerRe: The Session, Master Pages, and you Pin
Expert Coming23-May-07 16:44
Expert Coming23-May-07 16:44 
AnswerRe: Golbal.asax Pin
Vasudevan Deepak Kumar23-May-07 4:25
Vasudevan Deepak Kumar23-May-07 4:25 
QuestionNeed Some Guidance Pin
jamesmani2k523-May-07 4:11
jamesmani2k523-May-07 4:11 
AnswerRe: Need Some Guidance Pin
Vasudevan Deepak Kumar23-May-07 4:25
Vasudevan Deepak Kumar23-May-07 4:25 
QuestionConnect to database Pin
matjame23-May-07 3:35
matjame23-May-07 3:35 
AnswerRe: Connect to database Pin
Tarakeshwar Reddy23-May-07 3:52
professionalTarakeshwar Reddy23-May-07 3:52 
AnswerRe: Connect to database Pin
metallica_rock1023-May-07 23:21
metallica_rock1023-May-07 23:21 
QuestionRefreshing. Pin
Ranger4923-May-07 3:34
Ranger4923-May-07 3:34 
AnswerRe: Refreshing. Pin
kubben23-May-07 4:40
kubben23-May-07 4:40 
AnswerRe: Refreshing. Pin
Guffa23-May-07 5:32
Guffa23-May-07 5:32 
GeneralRe: Refreshing. Pin
Ranger4923-May-07 7:22
Ranger4923-May-07 7:22 
QuestionProblems using membership and roles in host system Pin
Bubbles223-May-07 2:54
Bubbles223-May-07 2:54 
QuestionTable help Pin
eric_tran23-May-07 2:05
eric_tran23-May-07 2:05 
AnswerRe: Table help Pin
kubben23-May-07 2:15
kubben23-May-07 2:15 
GeneralRe: Table help Pin
eric_tran23-May-07 2:20
eric_tran23-May-07 2:20 
AnswerRe: Table help Pin
Sherin Iranimose23-May-07 2:26
Sherin Iranimose23-May-07 2:26 
NewsRe: Table help Pin
N a v a n e e t h23-May-07 3:09
N a v a n e e t h23-May-07 3:09 

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.