Click here to Skip to main content
15,910,358 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Question: how to get current window username using asp.net Pin
Blue_Boy6-Sep-08 11:39
Blue_Boy6-Sep-08 11:39 
QuestionRe: Question: how to get current window username using asp.net Pin
skyair6-Sep-08 16:08
skyair6-Sep-08 16:08 
QuestionMay i validate textboxes entries against data base table column size Pin
Rameez Raja5-Sep-08 22:15
Rameez Raja5-Sep-08 22:15 
AnswerRe: May i validate textboxes entries against data base table column size Pin
balaji.t5-Sep-08 23:22
balaji.t5-Sep-08 23:22 
Questionhow can I remove an Item from genericlist? Pin
strawberrysh5-Sep-08 21:25
strawberrysh5-Sep-08 21:25 
AnswerRe: how can I remove an Item from genericlist? Pin
Guffa6-Sep-08 0:09
Guffa6-Sep-08 0:09 
AnswerRe: how can I remove an Item from genericlist? Pin
Blue_Boy6-Sep-08 5:25
Blue_Boy6-Sep-08 5:25 
QuestionHandling browser(<--) and (-->) buttons Pin
K V Sekhar5-Sep-08 21:07
K V Sekhar5-Sep-08 21:07 
Hi all,

I wants not allow user to revisit the previous pages once he logged out.
I am using master page, in that i placed a logout linkbutton.

When user clicks on logout button, i am redirecting user to loginpage.aspx.

In the Design of loginpage.aspx i wrote the following javascript to prevent user to navigate through browser -> & <- buttons.

LoginPage.aspx:
<%@ Page Language="C#" MasterPageFile="~/ProxyAds.master" AutoEventWireup="true"
CodeFile="LoginPage.aspx.cs" Inherits="LoginPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
<script language="javascript" type= "text/javascript">

if (window.history) {
window.history.forward(1);
}
</script>
<div id="home">
//Login Controls here....
</div>
</asp:Content>
.........................

But its not working.
any thing i am doing wrong ?
please suggest me.

thanks in advance.
AnswerRe: Handling browser(&lt;--) and (--&gt;) buttons Pin
balaji.t5-Sep-08 23:41
balaji.t5-Sep-08 23:41 
GeneralRe: Handling browser(&lt;--) and (--&gt;) buttons Pin
K V Sekhar6-Sep-08 1:59
K V Sekhar6-Sep-08 1:59 
AnswerRe: Handling browser(&lt;--) and (--&gt;) buttons Pin
Dilip H. Patel6-Sep-08 0:28
Dilip H. Patel6-Sep-08 0:28 
GeneralRe: Handling browser(&lt;--) and (--&gt;) buttons Pin
K V Sekhar6-Sep-08 1:56
K V Sekhar6-Sep-08 1:56 
QuestionTo access remote file from server using impersonation & LogOnUser Win32 API Pin
Miteshkumar Patel5-Sep-08 20:52
Miteshkumar Patel5-Sep-08 20:52 
Question'Sys' is undefined error Pin
Learning IT5-Sep-08 20:37
Learning IT5-Sep-08 20:37 
AnswerRe: 'Sys' is undefined error Pin
Blue_Boy5-Sep-08 20:51
Blue_Boy5-Sep-08 20:51 
GeneralRe: 'Sys' is undefined error Pin
Learning IT6-Sep-08 1:12
Learning IT6-Sep-08 1:12 
AnswerRe: 'Sys' is undefined error Pin
Paul Conrad6-Sep-08 9:15
professionalPaul Conrad6-Sep-08 9:15 
Questionpls help restricting multiple logon to an application with single user account. Pin
surender9395-Sep-08 18:01
surender9395-Sep-08 18:01 
AnswerRe: pls help restricting multiple logon to an application with single user account. Pin
The Web Developer5-Sep-08 20:37
The Web Developer5-Sep-08 20:37 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
surender9395-Sep-08 22:22
surender9395-Sep-08 22:22 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
The Web Developer5-Sep-08 22:36
The Web Developer5-Sep-08 22:36 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
surender9395-Sep-08 22:50
surender9395-Sep-08 22:50 
AnswerRe: pls help restricting multiple logon to an application with single user account. Pin
Dilip H. Patel5-Sep-08 23:57
Dilip H. Patel5-Sep-08 23:57 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
N a v a n e e t h6-Sep-08 0:24
N a v a n e e t h6-Sep-08 0:24 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
surender9397-Sep-08 23:14
surender9397-Sep-08 23:14 

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.