Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version
Go to top

Disabling browser's back functionality on sign out from Asp.Net

, 11 Aug 2005
After sign out from site if browsers back button is clicked it shows the previous page, though user is sign out from the site, to avoid this disabling of cache is done
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style7 
{
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 12px; 
	font-weight: bold; 
	color: #0051a5; 
}

.style8 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	font-weight: bold;
}
.style9 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}
.style10 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: Green;
	text-decoration: underline;
}
label
{
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 12px; 
	color: Black 
}
.GridHeader
{
	background-color:#006699; 
	FONT-WEIGHT: bold;
    FONT-SIZE: 12px;
    COLOR: #FFFFFF;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
    border-width: 1;
    border-color: black;
    Border-Style :solid;
}

.GridItems
{
	border-top: #666666 1px solid;
	border-color:#006699;  
	FONT-WEIGHT: normal;
    FONT-SIZE: 12px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
	border-bottom: #666666 1px solid;
	vertical-align:super;
	border-width: 1;
    border-color: black;
    Border-Style :solid ;
}

.GridAltItems
{
	border-top: #666666 1px solid;
	border-color:#006699;  
	FONT-WEIGHT: normal;
    FONT-SIZE: 12px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Helvetica, sans-serif;
	border-bottom: #666666 1px solid;
	vertical-align:super;
	border-width: 1;
    border-color: black;
    Border-Style :solid ;
	background-color: #f9f9f9;
	
}
INPUT
{   
	BACKGROUND-COLOR: F0F8FF;
    BORDER-BOTTOM: #9e9e9e 1px solid;
    BORDER-LEFT: #9e9e9e 1px solid;
    BORDER-RIGHT: #9e9e9e 1px solid;
    BORDER-TOP: #9e9e9e 1px solid;
    font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: black;
	text-decoration: none;
}

SELECT
{
    BACKGROUND-COLOR: F0F8FF;
    BORDER-BOTTOM: #9e9e9e 1px solid;
    BORDER-LEFT: #9e9e9e 1px solid;
    BORDER-RIGHT: #9e9e9e 1px solid;
    BORDER-TOP: #9e9e9e 1px solid;
    
    FONT-FAMILY: Arial, Verdana;
    FONT-SIZE: 8pt;
}

.ErrorMessage 
{
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 12px; 
	font-weight: bold; 
	color:Red; 
}
.GridPaging
{
	font-size : 10pt;
	font-family:Verdana;
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

RohitDighe
Web Developer
India India
Rohit Dighe
B.E. Computer from University of Pune, India.
 
Working on Asp.Net and C# from 2 years

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 12 Aug 2005
Article Copyright 2005 by RohitDighe
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid