Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - error registring new users
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

error registring new users

 Post Reply Post Reply
Author
mycplus View Drop Down
Newbie
Newbie


Joined: 19 March 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mycplus Quote  Post ReplyReply Direct Link To This Post Topic: error registring new users
    Posted: 19 March 2005 at 7:30am

Hello,

 our server is using webgarden and if we disable the webgarden its working but if we enable its not working.
Error is that users cant register accounts and security images dont show up....
 
our server ppl added somelines of code into the files and it was fixed on some forums
 
on first one users can not register but on the secod users can register.
 
here is the code that the server ppl added in the 2nd link and the same code is not working on http://www.mycplus.com/forum/registration_rules.asp both sites are running under same server.
 
here is the code they added
 
register.asp
Line 1097
Response.Cookies("lngSecurityCode") = Session("lngSecurityCode")

security_image.asp
Line 70
intImageNumber = Mid(Request.Cookies("lngSecurityCode"), intImageNumber, 1)
Plz anyone help me resolving this issue
thanks
saqib
 
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: 19 March 2005 at 8:11am
It sounds like your web farm admin haven't setup the servers to pass sessions between servers.

The security images require sessions variables, and so do a number of other items in the forum. If sessions can not be passed between the servers you will get the problems you mention.

The work around that you have posted is to place the session variable for the security images into a cookie.

This could work, but as the session variable is placed into a cookie it makes the security images a complete waste of time as they would no-longer protect against bots and remote form submission, which is what they are for.

If your web farm admin can not set up the servers to pass around session variables then you need to remove the security images from the registration page. You will also find some other features will not work how they should.
Back to Top
mycplus View Drop Down
Newbie
Newbie


Joined: 19 March 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mycplus Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2005 at 8:16am
then why its working here
 
its also on the same server and they added those lines of code i mentioned above
 
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: 19 March 2005 at 1:57pm
Please read my last post, I have covered your question already.

As I mentioned in my last post, by adding those lines that you posted it will get around the problem, but it uses a cookie to store the session variable which completely defeats the object of using session variables and makes the security images completely useless as they will no-longer give any protection against bot and remote form submission.

Also you will find other features will not work the way they should without being able to use sessions.


Edited by -boRg- - 19 March 2005 at 1:59pm
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: 19 March 2005 at 2:24pm
Basically if you are going to use a cookie to store the session variable in, as in your work around you posted, you might as well remove the security images altogether as they will no longer offer any protection.
Back to Top
 Post Reply Post Reply

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.