Jump to content
MakeWebGames

keep a cookie live


topmorpg

Recommended Posts

I noticed that when someone logs in to the mccodes script it begins the session. however if they go back to the install any cookies generated will be deleted and the new cookie is started.

 

How can I keep a cookie live for tracking purposes?

 

This will go hand and hand on a release of a tracking system for multis and such.

Thanks,

TJ

Link to comment
Share on other sites

Guest Anonymous

Re: keep a cookie live

I'm tempted to redirect you to the setcookie manual pages TJ, http://uk3.php.net/manual/en/function.setcookie.php, however with your knowledge, I can only presume you are making a silly mistake...

Session cookies, Domain cookies, and ... erm ... the other ones... should all be pretty easy.

Fancy posting a little snippet of code...

Link to comment
Share on other sites

Re: keep a cookie live

 

I'm tempted to redirect you to the setcookie manual pages TJ, http://uk3.php.net/manual/en/function.setcookie.php, however with your knowledge, I can only presume you are making a silly mistake...

Session cookies, Domain cookies, and ... erm ... the other ones... should all be pretty easy.

Fancy posting a little snippet of code...

 

Yea i been rather tired lately and lazy personally. moving in less then a week and working more then my fair share lately so has worked me over.

Thanks for the reply I will have a look as well I need to take a look how i was setting the cookie as im sure I placed it somewhere incorrectly for tacking.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...