Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Replies showing as wrong username
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Replies showing as wrong username

 Post Reply Post Reply Page  <12
Author
pete31 View Drop Down
Newbie
Newbie


Joined: 14 March 2016
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote pete31 Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2016 at 2:37pm
Just found something which looks a bit strange in the database table "sessions"

The IP address column seems to be truncated after the second octet

All the sessions have IP addresses like '10.105.' or '10.100.'

There are multiples of these, e.g. two rows that share the IP '10.100.' although they have different session IDs and session data.

Should the session table contain the complete IP address?
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
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2016 at 8:45am
No, only the /16 network address is used and not the whole IP.

If the IP does not match a new session would be created and the user would need to login again.

The reason why only the first part of the IP is used for this additional security check is that some ISP's such as AOL use NAT's that change the IP as the user browses the web but stays within the same /16 network address range.

The IP Session Checking can be turned of from the admin area if you did not want to use this or it causes problems, but this would not have any affect on your issue.

I still suspect the issue is the wrong username is being read in from AD, but without doing the debugging that I asked you to do before there is no way to know if the issue is a server setup issue of an issue with the web wiz forums code.

I suspect more on the side of the server setting issue causing the wrong username to be read in from AD.


Edited by WebWiz-Bruce - 16 March 2016 at 9:16am
Back to Top
pete31 View Drop Down
Newbie
Newbie


Joined: 14 March 2016
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote pete31 Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2016 at 4:42pm
We've made a change to the cache settings, so far so good. Hopefully the issue doesn't repeat.  Thanks for the info.
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
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2016 at 10:01am
Good to hear that you track down the issue and have found a solution.
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.