2009/03/20

Sessioin stuff

Session cookie lifetime in our server is 864000 sec, so it is 10days not 30minutes as we always assume.

When people logon online account,

  • 1. get billing/shipping info in account_billing/account_shipping table.
  • 2. then check if there is billing/shipping info in the billing/shipping table with the same session_id.
  • 3. if yes in step2, then update it with the one got from step1; if not, then insert with one got from step one if found in the step 1

No comments:

Post a Comment