Click here to Skip to main content
15,914,820 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCrosssite Scripting [modified] Pin
dan!sh 1-May-08 18:04
professional dan!sh 1-May-08 18:04 
AnswerRe: Crosssite Scripting Pin
Vasudevan Deepak Kumar1-May-08 21:13
Vasudevan Deepak Kumar1-May-08 21:13 
QuestionUnable to find an entry point named 'FreeCredentialsHandle' in DLL 'security.Dll' Pin
c#ivan1-May-08 10:56
c#ivan1-May-08 10:56 
AnswerRe: Unable to find an entry point named 'FreeCredentialsHandle' in DLL 'security.Dll' Pin
Vasudevan Deepak Kumar1-May-08 21:14
Vasudevan Deepak Kumar1-May-08 21:14 
GeneralRe: Unable to find an entry point named 'FreeCredentialsHandle' in DLL 'security.Dll' Pin
c#ivan2-May-08 0:29
c#ivan2-May-08 0:29 
Question[Message Deleted] Pin
newbcoder1-May-08 10:35
newbcoder1-May-08 10:35 
AnswerRe: logout problem Pin
Christian Graus1-May-08 11:54
protectorChristian Graus1-May-08 11:54 
AnswerRe: logout problem Pin
N a v a n e e t h1-May-08 16:42
N a v a n e e t h1-May-08 16:42 
newbcoder wrote:
my global.asax, i defined Session["status"]=false; and i set it to
true whenever the user logs in


I think your design is not good. If you do so, each user visiting your site will have a session variable even though they are not willing to log in. I suggest you to create session when user logs in and clear it when user logs out. Don't depend on the global.asax.

When user logs in, create session["status"] and keep true value there. When user logs out, remove this session entry. You can check the user logged status by checking this session existence. If session["status"] is returning null, your user has not logged in.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

QuestionForum packages? Pin
pankazmittal1-May-08 10:26
pankazmittal1-May-08 10:26 
AnswerRe: Forum packages? Pin
Vasudevan Deepak Kumar1-May-08 21:14
Vasudevan Deepak Kumar1-May-08 21:14 
GeneralRe: Forum packages? Pin
pankazmittal2-May-08 3:34
pankazmittal2-May-08 3:34 
QuestionRestrict open in file download prompt Pin
Kschuler1-May-08 10:01
Kschuler1-May-08 10:01 
AnswerRe: Restrict open in file download prompt Pin
SomeGuyThatIsMe1-May-08 10:34
SomeGuyThatIsMe1-May-08 10:34 
AnswerRe: Restrict open in file download prompt Pin
Vasudevan Deepak Kumar1-May-08 21:15
Vasudevan Deepak Kumar1-May-08 21:15 
Questionproblem regarding thumbnail generation. Pin
Iunknown1-May-08 8:24
Iunknown1-May-08 8:24 
AnswerRe: problem regarding thumbnail generation. Pin
SomeGuyThatIsMe1-May-08 10:22
SomeGuyThatIsMe1-May-08 10:22 
QuestionAny body create a web page for university grading system Pin
Raghav121231-May-08 4:10
Raghav121231-May-08 4:10 
AnswerRe: Any body create a web page for university grading system Pin
eyeseetee1-May-08 4:50
eyeseetee1-May-08 4:50 
AnswerRe: Any body create a web page for university grading system Pin
leckey1-May-08 6:57
leckey1-May-08 6:57 
GeneralRe: Any body create a web page for university grading system Pin
Christian Graus1-May-08 11:54
protectorChristian Graus1-May-08 11:54 
AnswerRe: Any body create a web page for university grading system Pin
Christian Graus1-May-08 11:56
protectorChristian Graus1-May-08 11:56 
JokeRe: Any body create a web page for university grading system Pin
Vasudevan Deepak Kumar1-May-08 21:17
Vasudevan Deepak Kumar1-May-08 21:17 
AnswerRe: Any body create a web page for university grading system Pin
Vasudevan Deepak Kumar1-May-08 21:16
Vasudevan Deepak Kumar1-May-08 21:16 
QuestionPlz ANY BODY WRITE A PROGRAM FOR UNIVERSITY GRADING SYSTEM IN ANY LANGUAGE Pin
Raghav121231-May-08 4:08
Raghav121231-May-08 4:08 
AnswerRe: Plz ANY BODY WRITE A PROGRAM FOR UNIVERSITY GRADING SYSTEM IN ANY LANGUAGE Pin
Blue_Boy1-May-08 4:48
Blue_Boy1-May-08 4:48 

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.