Print Page | Close Window

Security code disabled - bug quick login

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=6528
Printed Date: 03 April 2026 at 9:55pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Security code disabled - bug quick login
Posted By: svpworld
Subject: Security code disabled - bug quick login
Date Posted: 18 October 2003 at 8:40am

I have disabled the security code feature by setting the blnLongSecurityCode to false in the common.asp file.

Everything is fine unless I attempt to log in using the "quick login" on the main forum page in which case I get an error message (after the login page displays) of :

Line 121   Error: 'document.frmLogin.securityCode' is null or not an object

It works fine with the Login button, just not with the quick login... I assume a variable hasnt been defined somewhere?

Simon




Replies:
Posted By: kmacy
Date Posted: 18 October 2003 at 8:58am

Yes, I am having the same problem.

I am using a completely clean copy of 7.5 Sql Version



Posted By: kmacy
Date Posted: 18 October 2003 at 8:43pm

Svpworld,

Here's what I did to fix this problem:

On login_user.asp page, I changed the following(down around line 410 or so):

<script>document.frmLogin.<% If Request.Form("QUIK") Then Response.Write("securityCode") Else Response.Write("name") %>.focus()</script>

TO

<% If blnLongSecurityCode Then %>

  <script>document.frmLogin.<% If Request.Form("QUIK") Then Response.Write("securityCode") Else Response.Write("name") %>.focus()</script>

<% end if %>

Seems to work for me.



Posted By: svpworld
Date Posted: 19 October 2003 at 10:27am

Thank you Kmacy, I will try that out and see if it works!

Regards
Simon



Posted By: dmedendorp
Date Posted: 24 October 2003 at 10:00am
I am not even seeing the quick login after I made it blnLongSecurityCode to false, what am I missing?


Posted By: huwnet
Date Posted: 24 October 2003 at 10:02am
I think you did something wrong!


Posted By: dmedendorp
Date Posted: 24 October 2003 at 10:31am

Obviously.  I turned the blnLongSecurityCode to true
and I still don't see the the quick login.  So it must be related to
something else.  What file and what script displays the quick Login, I can compare it to the original and see what I indeed did wrong.

Scratch that, I editted the default.asp and add the quick login script, it shows up, however, what makes this so quick, it still goes to the login_user.asp page and the forum login is not even active so you have to use the mouse to click on it.   I thought the quick login would go directly to the forum, not login_user.asp and have to have a response. 

What am I missing?



Posted By: shigum
Date Posted: 24 October 2003 at 1:20pm
Thanks for the tip, svpworld, I make the code change in the common.asp and it worked perfectly fine.

-------------
no remorse, no repent...
http://www.klgn.com - KLGN


Posted By: StuartH
Date Posted: 30 October 2003 at 4:01am
I've made Svpworld's change and it works just fine, thanks for that. I do wonder though, why is it if I use the quick logon I still go to the normal logon page? Surely the whole point of 'quick logon' is to, er, log on, quickly.

-------------
Stuart


Posted By: fernan82
Date Posted: 30 October 2003 at 10:21am
It was changed to do that when -boRg- added the security codes but when the security code was made optional that wasn't changed, so you might have to fix that yourself unless it gets fixed on the next version... I'm not sure what you need to change as I don't use 7.5

-------------
FeRnAN
http://www.danasoft.com/">


Posted By: StuartH
Date Posted: 30 October 2003 at 10:25am
In new to this so I'll have to tread carefully. But thanks for the info.

-------------
Stuart


Posted By: WebWiz-Bruce
Date Posted: 30 October 2003 at 2:41pm
Or just wait a few weeks for the next version where the quick login etc. has been cleaned up.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: kmacy
Date Posted: 30 October 2003 at 5:07pm

Nice borg, can't wait!



-------------
Ken Macy


Posted By: StuartH
Date Posted: 31 October 2003 at 1:53am

Cool. I'll do that then.

TVM.



-------------
Stuart



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