...

View Full Version : I don't get cookie functions



ensinger
06-14-2003, 12:23 AM
I'm not getting the whole cookie setting function concept. It would be great if someone post a good cookie setting system and explain clearly in detail exactly how each section in the cookie works, like how to define data to be stored and most of all actually getting the function to store the cookie.

I'll be back Monday to see if I get any help, thanks in advance.

Skyzyx
06-14-2003, 07:48 AM
Are you familiar with basic JavaScript objects? If so, this link (http://host44.ipowerweb.com/~skyzyxco/scripts/cookies.htm) may help you out.

Mr J
06-14-2003, 05:35 PM
Have a read of this, it might give you an idea

ensinger
06-18-2003, 07:05 PM
I'm still not getting it, I just need to be able to actually save a cookie, then I could figure out the variations from there, I am working from the http://localhost/ domain, and would like the name of the cookie be "cookie_name", and the value to be "cookie_value". could somebody write the simpleest funtion they know of to save this cookie that will definately work when added to one of my pages.

Mr J
06-18-2003, 07:16 PM
I have attached a file that I was using when I wanted to try an figure out how cookies worked.

You can set, get, and delete a cookie

See if this helps.


The area where I am still puzzled is with the cookie path because I get different results depending where the file is that creates the cookie

ensinger
06-18-2003, 07:17 PM
I'm still not getting it, I just need to be able to actually save a cookie, then I could figure out the variations from there, I am working from the http://localhost/ domain, and would like the name of the cookie be "cookie_name", and the value to be "cookie_value". could somebody write the simpleest funtion they know of to save this cookie that will definately work when added to one of my pages.

ensinger
06-18-2003, 07:19 PM
oops, I hit the back button and it posted the message again.

ensinger
06-18-2003, 07:23 PM
thanks, the tester works, I'll see if I can apply it to my pages.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum