Click here to Skip to main content
15,902,635 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Browser compatibility Error Pin
Michael Sync17-Aug-07 1:59
Michael Sync17-Aug-07 1:59 
GeneralRe: Browser compatibility Error Pin
nandhububbly17-Aug-07 2:17
nandhububbly17-Aug-07 2:17 
GeneralRe: Browser compatibility Error Pin
nandhububbly17-Aug-07 2:42
nandhububbly17-Aug-07 2:42 
GeneralRe: Browser compatibility Error Pin
Michael Sync18-Aug-07 20:45
Michael Sync18-Aug-07 20:45 
GeneralRe: Browser compatibility Error Pin
Michael Sync18-Aug-07 20:46
Michael Sync18-Aug-07 20:46 
QuestionRegarding Sessions.. Pin
Ron.S16-Aug-07 22:39
Ron.S16-Aug-07 22:39 
AnswerRe: Regarding Sessions.. Pin
S A R I T H16-Aug-07 22:48
S A R I T H16-Aug-07 22:48 
AnswerRe: Regarding Sessions.. Pin
N a v a n e e t h16-Aug-07 22:54
N a v a n e e t h16-Aug-07 22:54 
Bharath.S.Ron wrote:
I will logout and set the session value to null,


Wrong. You should call Session.Abandon()

Bharath.S.Ron wrote:
my problem here is when i click back in browser after logging out it is going to page two this should not happen.


You are seeing cached version of your page by browser. In each page_load event you need to check session existence. If it's not exist, navigate user to login page. Your session check would be like this

if(Session["UserId"]==null)
{
    Response.Redirect("Login.aspx");
}



GeneralRe: Regarding Sessions.. Pin
Ron.S16-Aug-07 23:06
Ron.S16-Aug-07 23:06 
GeneralRe: Regarding Sessions.. Pin
N a v a n e e t h16-Aug-07 23:28
N a v a n e e t h16-Aug-07 23:28 
AnswerRe: Regarding Sessions.. Pin
VanithaVasu16-Aug-07 23:03
VanithaVasu16-Aug-07 23:03 
QuestionRe: Regarding Sessions.. Pin
N a r e s h P a t e l16-Aug-07 23:07
N a r e s h P a t e l16-Aug-07 23:07 
AnswerRe: Regarding Sessions.. Pin
Urs Enzler16-Aug-07 23:52
Urs Enzler16-Aug-07 23:52 
GeneralRe: Regarding Sessions.. Pin
Ron.S17-Aug-07 0:30
Ron.S17-Aug-07 0:30 
GeneralRe: Regarding Sessions.. Pin
Urs Enzler17-Aug-07 1:58
Urs Enzler17-Aug-07 1:58 
GeneralRe: Regarding Sessions.. Pin
N a v a n e e t h17-Aug-07 2:26
N a v a n e e t h17-Aug-07 2:26 
GeneralRe: Regarding Sessions.. Pin
Urs Enzler17-Aug-07 2:43
Urs Enzler17-Aug-07 2:43 
QuestionDate format in c#..., Pin
Member 387988116-Aug-07 22:32
Member 387988116-Aug-07 22:32 
AnswerRe: Date format in c#..., Pin
Ron.S16-Aug-07 22:47
Ron.S16-Aug-07 22:47 
AnswerRe: Date format in c#..., Pin
Imran Khan Pathan16-Aug-07 23:12
Imran Khan Pathan16-Aug-07 23:12 
AnswerCross Posts are evil Pin
Urs Enzler16-Aug-07 23:54
Urs Enzler16-Aug-07 23:54 
QuestionMultiple Select Statements in DataAdapter Pin
VanithaVasu16-Aug-07 22:27
VanithaVasu16-Aug-07 22:27 
AnswerRe: Multiple Select Statements in DataAdapter Pin
S A R I T H16-Aug-07 22:43
S A R I T H16-Aug-07 22:43 
AnswerRe: Multiple Select Statements in DataAdapter Pin
N a v a n e e t h16-Aug-07 22:58
N a v a n e e t h16-Aug-07 22:58 
GeneralRe: Multiple Select Statements in DataAdapter Pin
VanithaVasu16-Aug-07 23:07
VanithaVasu16-Aug-07 23:07 

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.