Click here to Skip to main content
15,917,709 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to Localization the DropDownList values. Pin
Christian Graus11-May-08 21:58
protectorChristian Graus11-May-08 21:58 
QuestionAutoEventWireup Pin
Brendan Vogt11-May-08 20:51
Brendan Vogt11-May-08 20:51 
AnswerRe: AutoEventWireup Pin
Christian Graus11-May-08 20:53
protectorChristian Graus11-May-08 20:53 
QuestionRe: AutoEventWireup Pin
Brendan Vogt11-May-08 22:20
Brendan Vogt11-May-08 22:20 
AnswerRe: AutoEventWireup Pin
Christian Graus11-May-08 22:38
protectorChristian Graus11-May-08 22:38 
GeneralRe: AutoEventWireup Pin
Brendan Vogt11-May-08 23:33
Brendan Vogt11-May-08 23:33 
AnswerRe: AutoEventWireup Pin
sidbaruah11-May-08 22:32
sidbaruah11-May-08 22:32 
Questionsec pay Pin
krishnaveer11-May-08 20:50
krishnaveer11-May-08 20:50 
AnswerRe: sec pay Pin
Christian Graus11-May-08 20:53
protectorChristian Graus11-May-08 20:53 
AnswerRe: sec pay Pin
J a a n s11-May-08 22:48
professionalJ a a n s11-May-08 22:48 
QuestionWhy ERROR Pin
Krazy Programmer11-May-08 20:01
Krazy Programmer11-May-08 20:01 
AnswerRe: Why ERROR Pin
Christian Graus11-May-08 20:52
protectorChristian Graus11-May-08 20:52 
GeneralRe: Why ERROR Pin
Krazy Programmer11-May-08 21:08
Krazy Programmer11-May-08 21:08 
GeneralRe: Why ERROR Pin
Christian Graus11-May-08 21:28
protectorChristian Graus11-May-08 21:28 
GeneralRe: Why ERROR Pin
Krazy Programmer11-May-08 23:23
Krazy Programmer11-May-08 23:23 
QuestionOn Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
shraddha190411-May-08 19:43
shraddha190411-May-08 19:43 
AnswerRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
Christian Graus11-May-08 19:57
protectorChristian Graus11-May-08 19:57 
GeneralRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
Krazy Programmer11-May-08 19:59
Krazy Programmer11-May-08 19:59 
GeneralRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
Christian Graus11-May-08 20:55
protectorChristian Graus11-May-08 20:55 
QuestionRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
shraddha190411-May-08 20:10
shraddha190411-May-08 20:10 
AnswerRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
Krazy Programmer11-May-08 20:13
Krazy Programmer11-May-08 20:13 
GeneralRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
shraddha190411-May-08 20:42
shraddha190411-May-08 20:42 
AnswerRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
Christian Graus11-May-08 20:50
protectorChristian Graus11-May-08 20:50 
GeneralRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
shraddha190411-May-08 21:09
shraddha190411-May-08 21:09 
My logout option is available in all the pages. this is a part of the banner as a user control. hence i cant place in the user control.

history.go(1);

if there is a just one Page for signout then this works. otherwise throughout the application it prevents me from going to the previous page using the back button (even though the user is not logged out).

i have even tried this using Javascript code on logout, but this doesnt work.

protected void Logout_Click(object sender, EventArgs e)
{
Session.Abandon();
string sScript = " history.go(1); ";

if (!Page.ClientScript.IsStartupScriptRegistered("privacy"))
Page.ClientScript.RegisterStartupScript(typeof(Page), "privacy", sScript);

Response.Redirect("Login.aspx");
}

Please Help !!
GeneralRe: On Click of Logout i want to prevent the user from clicking the back button and viewing the data Pin
Krazy Programmer11-May-08 21:13
Krazy Programmer11-May-08 21:13 

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.