Click here to Skip to main content
15,881,248 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Question on entity class in the layer Pin
Pravin Patil, Mumbai23-Sep-11 19:36
Pravin Patil, Mumbai23-Sep-11 19:36 
Questioncreate user Pin
kunal Singh Rajput20-Sep-11 19:44
kunal Singh Rajput20-Sep-11 19:44 
AnswerRe: create user Pin
Blue_Boy20-Sep-11 21:15
Blue_Boy20-Sep-11 21:15 
AnswerRe: create user Pin
uspatel21-Sep-11 2:09
professionaluspatel21-Sep-11 2:09 
AnswerRe: create user Pin
Dalek Dave21-Sep-11 22:38
professionalDalek Dave21-Sep-11 22:38 
Question2010 C# asp.net designer Pin
classy_dog20-Sep-11 3:39
classy_dog20-Sep-11 3:39 
AnswerRe: 2010 C# asp.net designer Pin
Morgs Morgan20-Sep-11 5:18
Morgs Morgan20-Sep-11 5:18 
QuestionASP Logout Pin
berba19-Sep-11 20:54
berba19-Sep-11 20:54 
Hi
When clicking the log out button on my ASP web application, the following is executed
Session.Abandon

but when i click the back button on the ie browser, i'm being redirected to the previous page though the session has expired.

I've tried using the no cache code

VB
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"


This has worked as after logout when I clicked on the ie browser back button i'm being redirected to the login page

But when the session hasn't expired and the user is using the application and at some point when he clicks the ie browser back button, he is getting the ie error message "Page cannot be displayed". I think this being caused by the no cache code

Is there any way to avoid this?

Cheers
AnswerRe: ASP Logout Pin
Arun Jacob19-Sep-11 23:10
Arun Jacob19-Sep-11 23:10 
GeneralRe: ASP Logout [modified] Pin
berba20-Sep-11 0:35
berba20-Sep-11 0:35 
AnswerRe: ASP Logout Pin
Arun Jacob20-Sep-11 1:46
Arun Jacob20-Sep-11 1:46 
GeneralRe: ASP Logout [modified] Pin
berba20-Sep-11 1:48
berba20-Sep-11 1:48 
Questionredirect page in asp.net Pin
ZeroOne819-Sep-11 15:40
ZeroOne819-Sep-11 15:40 
AnswerRe: redirect page in asp.net Pin
Parwej Ahamad19-Sep-11 18:41
professionalParwej Ahamad19-Sep-11 18:41 
AnswerRe: redirect page in asp.net Pin
AditSheth19-Sep-11 22:29
AditSheth19-Sep-11 22:29 
AnswerRe: redirect page in asp.net Pin
GenJerDan20-Sep-11 5:14
GenJerDan20-Sep-11 5:14 
GeneralRe: redirect page in asp.net Pin
ZeroOne820-Sep-11 9:20
ZeroOne820-Sep-11 9:20 
AnswerRe: redirect page in asp.net Pin
Shah Rizal22-Sep-11 19:02
Shah Rizal22-Sep-11 19:02 
Questionasp.net 2010 debugging Pin
classy_dog19-Sep-11 6:51
classy_dog19-Sep-11 6:51 
AnswerRe: asp.net 2010 debugging Pin
Pete O'Hanlon19-Sep-11 7:50
mvePete O'Hanlon19-Sep-11 7:50 
QuestionC# main in asp.net Pin
classy_dog19-Sep-11 6:17
classy_dog19-Sep-11 6:17 
AnswerRe: C# main in asp.net Pin
ekolis19-Sep-11 7:15
ekolis19-Sep-11 7:15 
QuestionResponse slow while connecting to DB2 Pin
Member 322226419-Sep-11 6:09
Member 322226419-Sep-11 6:09 
QuestionHow to call a method based on two asynchronous response handlers completed in ASP.NET and C#? Pin
rams218-Sep-11 20:03
rams218-Sep-11 20:03 
Questionabout connectivity of share market database. Pin
ohm_desai18-Sep-11 3:27
ohm_desai18-Sep-11 3:27 

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.