Jump to content

Archived

This topic is now archived and is closed to further replies.

poolhustler86

PHP Sessions - Question

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

Share this post


Link to post
Share on other sites

×

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.