|
-
May 16th, 2008, 08:59 AM
#1
initializing a cookie
Greetings,
I'm using a php cookie to maintain the website's menu state.
currently I am setting the cookie in a php file, but the init is running everytime I have a page reload which is not good. I need this init to run just once during a session. I tried using a session variable instead, but the same problem exists.
My question is: how can I init the cookie's value just once before the page loads?
thanks in advance,
sharper
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|