session_regenerate_id(), is it any good for me?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Perfidus
Forum Contributor
Posts: 114
Joined: Sun Nov 02, 2003 9:54 pm

session_regenerate_id(), is it any good for me?

Post by Perfidus »

I'm working with sessions for a data uploading form.
When customers finish uploading data about one item they can unlog or they can start uploading data again about another item.
Cause session is registered in database and have been seted up as "unique", It will cause an error of duplicate entry.
I wonder if I can use this function "session_regenerate_id();" to reset all session and to store new session ID in database and bring the customer the uploading interface again without make them go to the User-Password page.

:wink:
Post Reply