session_create() question

Discussion forum for MOD Writers regarding MOD Development.
Locked
User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

session_create() question

Post by 1234homie »

Hi,

why when we create session, old session is deleted before adding new? I mean, why not simply update guest session to user session by update session_user_id field?
User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: session_create() question

Post by 1234homie »

Is there will be any security issues by doing simple update session_user_id field instead of delete guest session and add new one when user log in? Anyone can help?
Locked

Return to “[3.0.x] MOD Writers Discussion”