topmorpg Posted April 21, 2008 Share Posted April 21, 2008 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 Quote Link to comment Share on other sites More sharing options...
topmorpg Posted April 23, 2008 Author Share Posted April 23, 2008 Re: keep a cookie live can anyone help with this? Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 23, 2008 Share Posted April 23, 2008 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... Quote Link to comment Share on other sites More sharing options...
topmorpg Posted April 23, 2008 Author Share Posted April 23, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.