Change session ID and keep data?
问题 When a user logs in on our website, I want to change the session ID but keep whatever data is in the session. I want to do this for two reasons: To prevent a user account to be used at multiple places simultaneously (because if two people are using the same account, the actions of one will undermine the actions of the other). To let the user continue what he/she was doing on another computer (e.g moving from home computer to work). These might seem contradictory, but really aren't if you