开发者

After updating username how do set that as session

I have an update form and whenever the username gets开发者_开发问答 updated, it messes up the session obviously since thier is a new username. how can i make it so that the user won't ahve to logout and the session will continue with the new info..


This should work. Post this after your update or insert script.

$username = $_post["username"];

$_post["username"] = $username;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜