Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem with cookies being set using Godaddy host
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with cookies being set using Godaddy host

 Post Reply Post Reply
Author
Savatage1 View Drop Down
Newbie
Newbie


Joined: 17 January 2004
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Savatage1 Quote  Post ReplyReply Direct Link To This Post Topic: Problem with cookies being set using Godaddy host
    Posted: 09 July 2007 at 4:33am
Hello all.  Interesting problem here that I am surprised has not yet been reported in the forums.  Unless I am missing something, I have been searching for it for a couple of hours.

Here is my situation - I have a hosted account with Go Daddy and they allow you to create domain name sthat point to sub directories of other domains.  Simple enough except that there seems to be an issue with cookies being set.

When I try to login as an Admin I get the dreaded:

Error: Un-Successful Login Your login was un-successful due to a session tracking error.

Please ensure that cookies are enabled on your web browser and you are not hiding or masking your IP address.

I see a couple of people have run into similar issues which were resolved with cache/cookie clearing or by changing a function in the session-data.asp file.  Unfortunately neither one of those has worked for me.

Godaddy's Help system has a Help topic that I think it on-the-money but I don't know how to easily configure this in Webwiz Forums.  Hopefully it is a global replacement.

Their FAQ says:

Why is ASP being blocked on my server when attempting to read cookies?

Last Updated: March 22, 2007 11:07 AM

Symptom:

ASP is blocked when attempting to read cookies on an aliased domain. For example:

Main Domain: http://www.coolexample.com

Alias Domain: http://www.coolexample.org

Alias Folder: /coolexample_org

This works: http://coolexample.com/coolexample_org/cookies.asp

This does not work: http://coolexample.org/cookies.asp

Cause:

When an aliased domain is inside a sub-application within the application root, the cookie is created with a default path of the sub-folder. For example:

Name: CE

Content: Cookie+Value

Host: coolexample.com

Path: /coolexample_org

When a cookie call is made, by default it does not include a path. As a result, cookies work on the primary domain, but not the aliased one.

Resolution:

When you create a cookie, you need to add a line of code to reflect the correct path for that subdomain.

Response.Cookies("CE").Path=""

Where CE is the name of your cookie. This will create the following cookie:

Name: CE

Content: Cookie+Value

Host: coolexample.com

Path: /


How can I easily change this path in Webwiz? Thanks in advance!
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: 09 July 2007 at 8:04am
This issue has been fixed for version 9 due for release within the next few weeks.
Back to Top
iamzaga View Drop Down
Groupie
Groupie
Avatar

Joined: 03 March 2005
Location: Turkey
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamzaga Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2007 at 5:15pm
I looked but can not fix.Maybe you can tell us how can we fix it please.
 
(for people who is using v.8)


Edited by iamzaga - 19 August 2007 at 5:19pm
Maybe want to visit free directory or Malatya
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: 20 August 2007 at 2:24pm
The fix would be don't use Go Daddy, or 1&1.

Both these hosts do not fully support the software due to the way they setup their servers.
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.