Cloud9247 Posted April 6, 2006 Share Posted April 6, 2006 Well,I made an edit profile script for my membership system on my site, and when you edit your profile, it says ""Your profile has been edited successfully", but when I go back to the edit profile script, it shows the cookies in their old form, here is what I have tried:$_COOKIE['cookie'] = $_POST['post'];It works, yes, but it does not appear editted till you log out, and log back in. Can someone please help me with this problem?! Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted April 6, 2006 Share Posted April 6, 2006 do you not have to use setcookie(); to actually alter cookie values??? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 6, 2006 Share Posted April 6, 2006 In order to edit a cookie you will have to reset it using the setcookie function. You cannot do $_COOKIE['cookiename'] = 'something';to reset a cookie. 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.