Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Cannot login as Admin and CAPTCHA problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedCannot login as Admin and CAPTCHA problems

 Post Reply Post Reply Page  123>
Author
VTBO View Drop Down
Newbie
Newbie


Joined: 01 November 2008
Status: Offline
Points: 24
Direct Link To This Post Topic: Cannot login as Admin and CAPTCHA problems
    Posted: 15 March 2009 at 7:33am
I had a problem with the system not recognizing the CAPTCHA. I looked in the session table and saw that the session captcha info matched the graphic. For some reason the compare was not working.
 
I modified the code in Functions_Login.asp  around line 115 to this
 
If ((CStr(LCase(Trim(getSessionItem("SCS")))) = CStr(LCase(Trim(Request.Form("securityCode"))))) AND (getSessionItem("SCS") <> "")) Then
 
I added the CStr to each term as well as adding the Trim to the getSessionItem("SCS") and that seemed to fix the problem. I now get a reliable compare. I am not sure why this is a problem, but it has been working on and off for a few years now. Something is changing and I am not sure what.
 
The system is Windows 2000 server sp4 with MSSQL 2000 and the latest SP. I still have one more problem in that when I login as administrator, it shows me as administrator but when I go to login in the admin section, it lets me login and then thinks I am user guest (group 2) and says I do not have permission to continue. Not sure why it is doing that, but I suspect that somewhere it is loosing the session information or cookie info  and treating me as a guest. The subroutine getUserData is returning the Guest info. It happens in both IE6 and Firefox.
 
I have it set to use the SQL server for sessions blnDatabaseHeldSessions = True and also have tried both ways on blnUseApplicationVariables = false with the same problem.
 
Any ideas on this?
 
Phil
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Direct Link To This Post Posted: 15 March 2009 at 9:07am
Are you still using version 9.08 Phil?
I assume you mean the forum software?

It could be a corrupt software download problem but if you could elaborate I'll look later
Back to Top
VTBO View Drop Down
Newbie
Newbie


Joined: 01 November 2008
Status: Offline
Points: 24
Direct Link To This Post Posted: 15 March 2009 at 9:17am
I was running 9.53 and it stopped working the other day. Several months ago when I had posted a CAPTCHA problem here I was running 9.08 and it had stopped working the same way, then I upgraded to 9.53 it worked for long time then stopped working a few days ago. Could be related to latest microsoft upadates, I think it quit around Tuesday. So I upgraded tonight to 9.55 and still had the same problem. I was able to track down the captcha problem and got that working, and I  figured how it fails with the admin login, but have not tracked down where the session is being cleared causing it to revert to guest.
 
I have tried re-downloading and unzipping and re-installing without any improvement. I get no other errors that I know of so I assume the files came through uncorrupted. It must be someting to do with a server configuration but I don't know what. There is no web garden setting or multiple application pool setting that I can see on the IIS panel unless it is in the registry. I have the application set to its own application and set it for high isolation. Is this correct?
 
Thanks for your help in this.
 
Phil
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Direct Link To This Post Posted: 15 March 2009 at 2:02pm
If it was working up to a few days ago, and assuming you had not tampered with your own database, I'm only guessing, but it would seem that your server is not holding the information correctly
Perhaps you have reached your database limits or something, or the server has changed its own configuration which has in turn affected your own database

I would suggest 2 things:

1. Contact Web Wiz Support (if this is a paid for version) and
2. Contact your hosting server and ask them if they can explain what may have happened

I think your other settings are correct so that does not appear to be the problem. Of course, if all else fails, then your other solution might be to change to web wiz hosting and get a free premium edition by having them host your site for you Wink
Back to Top
VTBO View Drop Down
Newbie
Newbie


Joined: 01 November 2008
Status: Offline
Points: 24
Direct Link To This Post Posted: 15 March 2009 at 9:39pm
Well it is hosted locally on one of our own servers, there are only a few hundred postings to the forum so I doubt it ran out of space and nothing was changed that I know of other then applying the latest Microsoft patches which may have messed with something although all of the other sites on the server seem to be working and they all use sessions without any problems.
 
This is a paid version so I will see what support can come up with.
 
Thanks,
 
Phil
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 16 March 2009 at 8:46am
This sounds like a session issue and your server is no longer able to hold sessions as the worker process is recycling to often.

Unfortunately Windows Server 2000 is not something that has been used around here for about 7 years, so it hard to recommend what to do to check this.

If your host offers newer servers such as Windows 2003, or even better Windows Server 2008 then I would recommend moving to a newer server as you can then manage worker process much better placing each site in it's own process. You also get better performance and security.

Our SQL Server 2005/2008 version also give far superior performance with server side paging, allowing you to view all topics within a forum not just the first 1,500.
Back to Top
VTBO View Drop Down
Newbie
Newbie


Joined: 01 November 2008
Status: Offline
Points: 24
Direct Link To This Post Posted: 16 March 2009 at 5:50pm
Bruce, I agree it must be something that happened in the server but I don't know what. I am running a free version of the forum on a windows 2003 server and it has also stopped working in the exact same way. It must be related to the latest Microsoft updates that came out last week. It changed something but I don't know what.
 
The fact that I can log into this forum and use the captcha means that my computer is ok and not blocking sessions. This has reallly thown me for a loop. Back to the detective work I guess.
 
 
Phil
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 17 March 2009 at 9:01am
To see if it is an issue with the latest patches from Microsoft I installed the latest patches on 3 Win2k3 boxes but I was still unable to replicate any issue with CAPTCHA and/or logging in.

Make sure you are not using multiple work processes for your application pools as this will prevent ASP sessions from working.
Back to Top
 Post Reply Post Reply Page  123>

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.