Print Page | Close Window

Logout

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21460
Printed Date: 29 March 2026 at 12:51pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Logout
Posted By: Houbenl
Subject: Logout
Date Posted: 02 October 2006 at 8:32pm
If a member has forgotten to logout, a next user on the same computer can put text on the forum under his name. If the forum is closed the member  should automatically be logged out. How can I change this in the program of the forum?



Replies:
Posted By: Mikey
Date Posted: 02 October 2006 at 11:01pm
In 'includes/login_form_inc.asp' find this line...

<td><% = strTxtAutoLogin %></td>
  <td><% = strTxtYes %><input type="radio" name="AutoLogin" value="true" checked />&nbsp;&nbsp;<% = strTxtNo %><input type="radio" name="AutoLogin" value="false" /></td>
 </tr>
 
and replace it with this...
 
<td></td>
  <td><input type="hidden" name="AutoLogin" value="false" /></td>
 </tr>
 
This will (hopefully) automatically set any user who logs in to auto log out when they close the forum.
 
It does this by setting the auto-login function to false.
 
Haven't had a chance to test it, let me know how it goes.


-------------
Handyman man?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net