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?! Link to comment https://forums.phpfreaks.com/topic/6752-editing-cookies/ 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??? Link to comment https://forums.phpfreaks.com/topic/6752-editing-cookies/#findComment-24570 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. Link to comment https://forums.phpfreaks.com/topic/6752-editing-cookies/#findComment-24586 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.