<%@ Page Title="" Language="C#" MasterPageFile="~/Menu.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="LoupeMain.WebForm1" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <script type="text/javascript"> function disableBackButton() { window.history.forward(); } setTimeout("disableBackButton()", 0); window.onunload = function () { null }; </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> </asp:Content>
protected void Page_Load(object sender, EventArgs e) { Response.AppendHeader("Refresh", Convert.ToString(((HttpContext.Current.Session.Timeout * 60) - 5)) + "; Url=" + "WebForm3.aspx"); }
function disableBackButton() { window.history.forward(); } setTimeout("disableBackButton()", 0); window.onunload = function () { null };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)