Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Security code disabled - bug quick login
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Security code disabled - bug quick login

 Post Reply Post Reply Page  12>
Author
svpworld View Drop Down
Groupie
Groupie


Joined: 06 March 2003
Location: usa
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote svpworld Quote  Post ReplyReply Direct Link To This Post Topic: Security code disabled - bug quick login
    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



Edited by svpworld
Back to Top
kmacy View Drop Down
Groupie
Groupie
Avatar

Joined: 15 March 2002
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote kmacy Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
kmacy View Drop Down
Groupie
Groupie
Avatar

Joined: 15 March 2002
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote kmacy Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
svpworld View Drop Down
Groupie
Groupie


Joined: 06 March 2003
Location: usa
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote svpworld Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2003 at 10:27am

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

Regards
Simon

Back to Top
dmedendorp View Drop Down
Newbie
Newbie
Avatar

Joined: 07 October 2003
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmedendorp Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2003 at 10:02am
I think you did something wrong!
Back to Top
dmedendorp View Drop Down
Newbie
Newbie
Avatar

Joined: 07 October 2003
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmedendorp Quote  Post ReplyReply Direct Link To This Post 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?



Edited by dmedendorp
Back to Top
shigum View Drop Down
Newbie
Newbie


Joined: 24 May 2002
Location: Canada
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote shigum Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.