Click here to Skip to main content
15,922,584 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionData synchronization Pin
mukesh.mr032-Mar-10 23:00
mukesh.mr032-Mar-10 23:00 
AnswerRe: Data synchronization Pin
R. Giskard Reventlov2-Mar-10 23:41
R. Giskard Reventlov2-Mar-10 23:41 
GeneralRe: Data synchronization Pin
mukesh.mr032-Mar-10 23:49
mukesh.mr032-Mar-10 23:49 
GeneralRe: Data synchronization Pin
R. Giskard Reventlov2-Mar-10 23:58
R. Giskard Reventlov2-Mar-10 23:58 
GeneralRe: Data synchronization Pin
mukesh.mr033-Mar-10 0:08
mukesh.mr033-Mar-10 0:08 
Questionsession Pin
arkiboys2-Mar-10 21:22
arkiboys2-Mar-10 21:22 
AnswerRe: session Pin
padmanabhan N2-Mar-10 23:30
padmanabhan N2-Mar-10 23:30 
AnswerRe: session Pin
Haroon Sarwar3-Mar-10 0:16
Haroon Sarwar3-Mar-10 0:16 
Can't see anything wrong with the code itself, but this is probably not the best way to be doing this kind of thing.

IMO As long as a user is logged in, the Session value should be there, and you should only remove it when they have logged out.

- rather than doing Session["DB"] = strDB; on PageLoad of Default.aspx, do it on the login page, when the user has entered their credentials and clicked the login button
- rather than doing Session.Remove("DB") in PageLoad of the login page I think you should do Session.Abandon() when the users click on the logout link.
AnswerRe: session Pin
Brij3-Mar-10 0:19
mentorBrij3-Mar-10 0:19 
AnswerRe: session Pin
tunsten3-Mar-10 0:53
tunsten3-Mar-10 0:53 
AnswerRe: session Pin
Rutvik Dave3-Mar-10 5:24
professionalRutvik Dave3-Mar-10 5:24 
QuestionProblem in server configuration Pin
Rohit16db2-Mar-10 20:14
Rohit16db2-Mar-10 20:14 
AnswerRe: Problem in server configuration Pin
Rutvik Dave3-Mar-10 5:33
professionalRutvik Dave3-Mar-10 5:33 
GeneralRe: Problem in server configuration Pin
Rohit16db3-Mar-10 6:17
Rohit16db3-Mar-10 6:17 
QuestionHow to achieve dynamic image switching by Falsh Pin
srxlily2-Mar-10 20:08
srxlily2-Mar-10 20:08 
QuestionHTTP Handler for folder Pin
Shahzad.Aslam2-Mar-10 20:05
Shahzad.Aslam2-Mar-10 20:05 
AnswerRe: HTTP Handler for folder Pin
Abhijit Jana2-Mar-10 20:16
professionalAbhijit Jana2-Mar-10 20:16 
GeneralRe: HTTP Handler for folder Pin
Shahzad.Aslam2-Mar-10 20:45
Shahzad.Aslam2-Mar-10 20:45 
GeneralRe: HTTP Handler for folder Pin
Abhijit Jana2-Mar-10 21:06
professionalAbhijit Jana2-Mar-10 21:06 
QuestionMESSAGE WINDOW Pin
Masood Kochi,SSF2-Mar-10 18:33
Masood Kochi,SSF2-Mar-10 18:33 
AnswerRe: MESSAGE WINDOW Pin
Pranay Rana2-Mar-10 18:43
professionalPranay Rana2-Mar-10 18:43 
AnswerRe: MESSAGE WINDOW Pin
Abhijit Jana2-Mar-10 20:03
professionalAbhijit Jana2-Mar-10 20:03 
AnswerRe: MESSAGE WINDOW Pin
Pranay Rana2-Mar-10 20:21
professionalPranay Rana2-Mar-10 20:21 
AnswerRe: MESSAGE WINDOW Pin
tunsten3-Mar-10 1:00
tunsten3-Mar-10 1:00 
AnswerRe: MESSAGE WINDOW Pin
T M Gray3-Mar-10 7:01
T M Gray3-Mar-10 7:01 

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.