Click here to Skip to main content
15,892,059 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: problem after publishing on server Pin
anilpal1-Apr-09 22:48
anilpal1-Apr-09 22:48 
QuestionLogin/Logout Problem Pin
Sundeep Ganiga1-Apr-09 18:46
Sundeep Ganiga1-Apr-09 18:46 
AnswerRe: Login/Logout Problem Pin
Dev S1-Apr-09 19:58
Dev S1-Apr-09 19:58 
GeneralRe: Login/Logout Problem Pin
Sundeep Ganiga1-Apr-09 20:01
Sundeep Ganiga1-Apr-09 20:01 
GeneralRe: Login/Logout Problem Pin
anilpal1-Apr-09 21:52
anilpal1-Apr-09 21:52 
GeneralRe: Login/Logout Problem Pin
Sundeep Ganiga1-Apr-09 22:53
Sundeep Ganiga1-Apr-09 22:53 
AnswerRe: Login/Logout Problem Pin
specialdreamsin1-Apr-09 23:09
specialdreamsin1-Apr-09 23:09 
AnswerRe: Login/Logout Problem Pin
specialdreamsin1-Apr-09 21:54
specialdreamsin1-Apr-09 21:54 
See Sandeep,

On Every Page, Except Login Page, In Page Load Event Just write this Code.

If Trim(Session("UserID")) = "" Then
Response.Redirect("ErrorPage.aspx")
End If

Don't forget to clear the Session("UserID") value to "" on Logout or Session End


Ramesh Sambari
AnswerRe: Login/Logout Problem [modified] Pin
kumar_k5081-Apr-09 23:18
kumar_k5081-Apr-09 23:18 
AnswerRe: Login/Logout Problem Pin
Alok Sharma ji2-Apr-09 12:56
Alok Sharma ji2-Apr-09 12:56 
QuestionUnterminated string constant Pin
rakeshs3121-Apr-09 18:28
rakeshs3121-Apr-09 18:28 
AnswerRe: Unterminated string constant Pin
Piyush Vardhan Singh1-Apr-09 20:03
Piyush Vardhan Singh1-Apr-09 20:03 
QuestionVS 2008 Unit Testing Null Exception Error Pin
dboy2211-Apr-09 15:59
dboy2211-Apr-09 15:59 
AnswerRe: VS 2008 Unit Testing Null Exception Error Pin
N a v a n e e t h1-Apr-09 17:15
N a v a n e e t h1-Apr-09 17:15 
QuestionExporting Grdiview using itextsharp Pin
Mfzc1-Apr-09 14:02
Mfzc1-Apr-09 14:02 
QuestionHow to configure web app to allow strong type parameters in web service??? Pin
Member 39190491-Apr-09 13:47
Member 39190491-Apr-09 13:47 
QuestionHow I can convert my '<%# Eval.......%>' code in Page.aspx to Page.aspx.vb ? Pin
Saba021-Apr-09 12:31
Saba021-Apr-09 12:31 
AnswerRe: How I can convert my '<%# Eval.......%>' code in Page.aspx to Page.aspx.vb ? Pin
N a v a n e e t h1-Apr-09 17:19
N a v a n e e t h1-Apr-09 17:19 
Questionhow do I suppress specific warning messages Pin
MakingALiving1-Apr-09 9:13
MakingALiving1-Apr-09 9:13 
AnswerRe: how do I suppress specific warning messages Pin
mr_muskurahat1-Apr-09 21:59
mr_muskurahat1-Apr-09 21:59 
GeneralRe: how do I suppress specific warning messages Pin
MakingALiving2-Apr-09 2:22
MakingALiving2-Apr-09 2:22 
GeneralRe: how do I suppress specific warning messages Pin
mr_muskurahat2-Apr-09 7:36
mr_muskurahat2-Apr-09 7:36 
GeneralRe: how do I suppress specific warning messages Pin
MakingALiving2-Apr-09 9:30
MakingALiving2-Apr-09 9:30 
QuestionProblem displaying aspx file Pin
StuffyEst1-Apr-09 8:54
StuffyEst1-Apr-09 8:54 
AnswerRe: Problem displaying aspx file Pin
MakingALiving1-Apr-09 9:44
MakingALiving1-Apr-09 9:44 

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.