|
|
 |
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4  | This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040 |
Please indicate which version of the book you are using when posting questions. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

June 12th, 2003, 11:26 PM
|
|
Registered User
|
|
Join Date: Jun 2003
Location: San Diego, CA, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Cookies Not Being Written
I am stuck in Chapter 9, after attempting the "cookie counter" exercise with cookieCounter.asp.
The Request.Cookies("HitCounter") seems to be reinitializing itself, and not incrementing by 1. The same thing happens when I use your code directly from the CD. I've tried rewriting the code, moving it, etc., to no avail.
Please help. I can't go forward without my cookies!
:(
|

June 13th, 2003, 12:57 PM
|
 |
Wrox Author
Points: 35,654, Level: 82 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,575
Thanks: 12
Thanked 284 Times in 280 Posts
|
|
Hi there,
Did you include the .Expires property of the cookie? This call adds an additional 10 days to the current date so the cookie gets saved to disk.
Also, check that your server and the client are more or less synchronized in time. If there is a big difference, the cookie may have expired before it is saved by the client.
If this doesn't help, post some of the code you use and the specs you have (OS, webserver etc).
Cheers,
Imar
|

June 13th, 2003, 03:44 PM
|
|
Registered User
|
|
Join Date: Jun 2003
Location: San Diego, CA, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar:
I appreciate your quick response and suggestions.
However, I have discovered that I have a "cookie monster" on my system.
To make a long story short, the problem arises from either or both of my firewall and PestPatrol, with CookieControl running, wiping out the cookies. Very effective, by the way.
Anyway, problem solved. And thanks again for your help.
Elliot
|

June 13th, 2003, 05:56 PM
|
 |
Wrox Author
Points: 35,654, Level: 82 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,575
Thanks: 12
Thanked 284 Times in 280 Posts
|
|
Aaah, the cookie monster got you as well ;)
Glad it worked out.
Imar
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |