Web Wiz - Green Windows Web Hosting

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

Cookies

 Post Reply Post Reply
Author
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Topic: Cookies
    Posted: 31 July 2003 at 2:01am
I have a strange problem. It seems that my computer cannot deal with local cookies (those set by sites I develope localy under IIS). The same script, up on the net, works OK, on my home computer, it does not. My guess is the it sets OK the cookie, but for reasons I could not understand it can not read them back. For instance, I have a voting script which, after I vote, it is supposed to show me the results, for preventing double voting... Well, it takes me back to vote again. Another example is this very forum software, which I can not log in since it can not read the cookie... But as you can see, when using it from the web, it works.
I went up to uninstall IIS an then re-install it, even I have reinstalled windows, but the problem persists. All work OK, except those cookies.
Cristian Banu
Soft 4 web
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2003 at 5:56pm

First: Make sure that your browser has cookies enabled!
Second: How are you setting the cookies, is the Response.cookies command appearing before the <html> tag?
Third: If it works fine when you throw it onto the net why are you worrying about it?

Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2003 at 7:27am

1) Yes

2) Yes

3) Because I work on several projects and I want to be sure of them before i throw them on the net.

The strengest thing is that if I redefine the site in IIS works for a while, then it stops working.

Cristian Banu
Soft 4 web
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2003 at 5:48pm

Did you try powering off your server?

Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2003 at 11:37pm
Yeap... I gave up. No clues whatsoever.
Cristian Banu
Soft 4 web
Back to Top
Aumuz View Drop Down
Groupie
Groupie
Avatar

Joined: 14 March 2003
Location: United States
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aumuz Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2003 at 8:23pm

I had the same problem as you.

Do you have somthing like the following...

Response.Cookies("YOURCOOKIE").Domain = "www.YOURDOMAIN.com"

That was what was "wrong" with my code.

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.