Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Registration/Cookies/Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Registration/Cookies/Error

 Post Reply Post Reply Page  12>
Author
TobiasWeltner View Drop Down
Newbie
Newbie


Joined: 19 December 2007
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote TobiasWeltner Quote  Post ReplyReply Direct Link To This Post Topic: Registration/Cookies/Error
    Posted: 27 December 2007 at 9:11am
I am just getting flamed by new users for not being able to register. I tracked down the cause to cookies. If Cookies are disabled (default in IE7), people cannot register. Since it is quite a hassle to enable cookies, I was wondering if I did something wrong or if this forum software really requires cookies as a mandatory prerequisite. Any help greatly appreciated!
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: 27 December 2007 at 10:24am
Cookies are not disabled by default in IE7, not unless you have changed the security level from the default 'Medium High' to 'High'.

Nearly all websites require some type of cookies, so gone as the days when headline news use to make out cookies were bad and users needed to disable them.

Web Wiz Forums doesn't require cookies to login users, although it does help and allows more features like the auto-login.

If cookies are not enabled in the users browser then an SID number will be created in the URL to track the user.

If you are having login issues then quite often this is coursed by your site not correctly setting cookies. You can try changing the cookie path to see if that resolves the issue, by editing in notepad the file includes/setup_options_inc.asp and changing the cookie path to the root of your site.
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2007 at 10:13am
boRg,

a little off topic but still a close question;

on my site we have a situations where when using
http://www.domain.com
or
http://domain.com

If one log-in with the www part of the url, then the log-in status isn't kept when www part is omitted (and opposite). Is this a normal behavior, something to do with my server or something else?

sorry for an OT question
Thank you
Back to Top
Jono View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 18 September 2006
Location: United Kingdom
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jono Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2007 at 11:23am
This is because of how cookies work. They are particular for each fully qualified domain name (and/or subfolders). They see www.domain.com and domain.com as different items, just as foo.domain.com and bar.domain.com are different.
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2007 at 11:52am
Thanks .. so this is normal and ist't specific to my server setup.
Is there any simple solution for this (some kind of redirecting) or i should leave this as it is.
Thank you !
Back to Top
Jono View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 18 September 2006
Location: United Kingdom
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jono Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2007 at 5:31pm
Yes, this is normal. You could put a redirector in so that anyone who goes to domain.com is automatically redirected to www.domain.com.
 
If you have access to the web server, you can configure IIS to redirect, else you'd need a bit of asp or Javascript code to detect which domain has been requested and redirect to the one with www. Let me know if you need help with either if these.
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2007 at 6:03pm
Thanks !!
Will ask my server host company for this. Thank you.
Back to Top
Jono View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 18 September 2006
Location: United Kingdom
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jono Quote  Post ReplyReply Direct Link To This Post Posted: 29 December 2007 at 9:29am
If your hosting company can't make the changes (they may need to setup IIS to use a custom 404 page to redirect from domain.com), you will need to use some code such as:
 
If lcase(request.ServerVariables("SERVER_NAME"))="domain.com" then
     response.redirect "http://www.domain.com"
end if
 
If you wanted to be really helpful to your members, you could change this to
 
If lcase(request.ServerVariables("SERVER_NAME"))="domain.com" then
     response.redirect "http://www.domain.com" & request.ServerVariables("PATH_INFO") & request.ServerVariables("QUERY_STRING")
end if
 
This will redirect them to the correct topic/post, but on the www domain. Hope this helps.
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.