Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

log off after 30 minutes

Featured Replies

hi,

i want to make a page that includes membership. Is it poosible to log off user if the user don't click any link in 30 min.?

thanks

This thread will be of interest to you:

Auto-Logout

All the best.

Garry

make any page that will redirect to "LogOUT.html"

anypage.html------------

<meta http-equiv="refresh" content="1800;URL=LogOUT.html">

....

------------------------

LogOUT.html---------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>BLANK</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link href="/CSS/FM.css" rel="stylesheet" type="text/css">

<script language="JavaScript" type="text/JavaScript">

<!--

function MM_openBrWindow(theURL,winName,features) //v2.0 Dreamweaver native OpenBrowserWindow

{

window.open(theURL,winName,features);

}

//-->

</script>

<script>

var myMinutes=1; // declare how many minutes you want allowed on the site/page

var myTime = myMinutes * 60; // convert time from minutes into seconds

var LogOut = myTime * 1000;// convert time from seconds into milliseconds

t = null;

function AutoLogOut()

{

t = setTimeout("top.window.close()",LogOut);// if you use frames -if no Frames use: window.close

}

</script>

</head>

<body onLoad="AutoLogOut();">

<table width="100%" height="496" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#666666" id="MAINTABLE">

<tr>

<td align="center" valign="middle">

<table width="99%" height="494" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id="INSIDETABLE">

<tr>

<td width="40%" height="25"><hr size="1" color="#666666"> </td>

<td width="20%" height="25" align="center" class="mask"> System Message</td>

<td width="40%" height="25"><hr size="1" color="#666666"> </td>

</tr>

<tr>

<td colspan="3" align="center"><p class="text">You will be automatically

logged out in 1 minute!</p>

<p class="text">To continue using our system please <a href="#" onClick="MM_openBrWindow('Index.html','','scrollbars=yes,width=1000,height=730,top=0,left=8');top.window.close();">CLICK

HERE</a> and log in again!</p></td>

</tr>

</table>

</td>

</tr>

</table>

</body>

</html>

------------------------------

sorry the "| code |" does not work today.....so its pure txt

All the best!

  • Author

thanks

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.