Print Page | Close Window

Registration/Cookies/Error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25067
Printed Date: 04 April 2026 at 4:56am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Registration/Cookies/Error
Posted By: TobiasWeltner
Subject: Registration/Cookies/Error
Date 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!



Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: kiklop
Date 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


-------------
http://www.dyxum.com" rel="nofollow - dyxum.com


Posted By: Jono
Date 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 http://www.domain.com - www.domain.com and domain.com as different items, just as foo.domain.com and bar.domain.com are different.


Posted By: kiklop
Date 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 !


-------------
http://www.dyxum.com" rel="nofollow - dyxum.com


Posted By: Jono
Date 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 http://www.domain.com - 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.


Posted By: kiklop
Date Posted: 28 December 2007 at 6:03pm
Thanks !!
Will ask my server host company for this. Thank you.


-------------
http://www.dyxum.com" rel="nofollow - dyxum.com


Posted By: Jono
Date 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.


Posted By: kiklop
Date Posted: 29 December 2007 at 9:48am
Thank you !!
You been really helpful !


-------------
http://www.dyxum.com" rel="nofollow - dyxum.com


Posted By: TobiasWeltner
Date Posted: 02 January 2008 at 1:40pm

I may be missing something. On my forum, I can log on without cookies but once I start to register a new user, I get an access denied message if my browser does not allow cookies. In this case, I see a "eye" icon in IE status bar.

You can try for yourself: please visit http://www.powershell.de - www.powershell.de and try and register yourself. You will receive the mentioned error message unless you explicitly allow cookies for that site.

This must be related to the fact that I use the forum inside a frameset. When I open the forum as a separate window, I do not get the error message. Is there anything I can do to prevent this? Thx!



Posted By: WebWiz-Bruce
Date Posted: 02 January 2008 at 2:03pm
An issue has been identified with the registration pages if your browser doesn't work with cookies which is being fixed for the next release.

Although Web Wiz Forums can work without cookies it is not recommended.

Frames do course problems for both cookies and having your forum indexed by serach engines, and again if you can you should avoid the use of frames, which have been a depreciated standard for a long time now.

If you must use frames you can try editing in notepad the file includes/setup_options_inc.asp and setting the path for the cookies being set. This would hopefully fix the issue your site not working with cookies.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: TobiasWeltner
Date Posted: 03 January 2008 at 11:00am
Thanks for your helpful response. I would very much like to not use frames (in fact, we use an iframe). however, we would like to integrate the forum into our web site appearance. Maybe I have overlooked somethink and it is possible to embed it otherwise. What we need are headers and footers. Maybe there is an include file where we could add that code, it is just plain HTML.


Posted By: WebWiz-Bruce
Date Posted: 03 January 2008 at 11:44am
Yes there is.

In the includes folder you will find a header.asp and footer.asp file that is for this type of integration.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: TobiasWeltner
Date Posted: 03 January 2008 at 1:21pm
thanks, I just changed everything from inline frame to a single page. Now all works beautifully. Thanks again!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net