Jump to content

PHP Sessions - Question


poolhustler86

Recommended Posts

Dear all,

Looking for the best method to create a unique id for each user who visits the website (each time they revisit they are assigned a new unique id).

Reason behind the question is i'm in the process of building an online shopping store were users / customers do not require to log in before making a purchase.

This unique id will be used to identify the contents of each users shopping carts / payment methods etc...

I had thought of using the default php session id and then store that in a db table but i surely thought there would be a better solution which is solely php related.

Any suggestions / ideas / solutions would be most welcomed....

Thankyou for your time
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.