Print Page | Close Window

blnAutoLogin always true ?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=19854
Printed Date: 11 April 2026 at 10:35pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: blnAutoLogin always true ?
Posted By: superlative
Subject: blnAutoLogin always true ?
Date Posted: 13 May 2006 at 2:09pm
Hi all;
 
I discover a smalest problem in register.asp page. In this page (edit profile) "Automatically log me in when I return to the Forum" this value return always true. I select false then click update button. Function is working. Forum dont remember me. But these lines dont work :
 
Quote     <td width="50%" valign="top"><% = strTxtYes %><input type="radio" name="Login" id="Login" value="True" <% If blnAutoLogin = True Then Response.Write "checked" %> />&nbsp;&nbsp;<% = strTxtNo %><input type="radio" name="Login" id="Login" value="False" <% If blnAutoLogin = False Then Response.Write "checked" %> /></td>
 
in register.asp 1876. line
 
And other my question, examine db structure, I see login_attempt value in the tblAuthor table. What is this column?


-------------
http://www.knowhow.gen.tr" rel="nofollow">



Replies:
Posted By: mack
Date Posted: 13 May 2006 at 7:21pm
I haven't looked into the code, and probably won't, be it appears to be the boolean is messed up.

Try doing:
Response.Write("AutoLogin: " + blnAutoLogin");

And see what it says. If it says True or False then everything should be fine, so try adding quotes around it like this:
<td width="50%" valign="top"><% = strTxtYes %><input
type="radio" name="Login" id="Login" value="True" <% If blnAutoLogin
= "True" Then Response.Write "checked" %>
/>&nbsp;&nbsp;<% = strTxtNo %><input type="radio"
name="Login" id="Login" value="False" <% If blnAutoLogin = "False"
Then Response.Write "checked" %> /></td>


If that don't work, try changing the "False" and "True" to have a lower case F and T.

What I'm saying is the boolean it's checking for might not actually be a boolean, which might be the issue.

But I don't know.

As for Login_Attempt, I assume that's to keep count of how many times the user "attempted" to login but failed.. I think when you login say 10 times in a row and it fails, a CAPTCHA will show up. That's what I assume that's for.

Hope this helps :)




Posted By: superlative
Date Posted: 16 May 2006 at 9:50am
Thanks mack, i trty this at the weekend :)

-------------
http://www.knowhow.gen.tr" rel="nofollow">



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