|
-
Oct 18th, 2006, 03:18 PM
#1
Thread Starter
Hyperactive Member
Temporary ID
i want to make an temporary ID for each visitor of my website. when anyone enter my website i want to make an temporary ID for this user and store some data to a table using this ID. my website has not any login system.
is it possible or any different idea?
-
Oct 18th, 2006, 06:42 PM
#2
Re: Temporary ID
you can use sessions or cookies to store temporary information, and unless you plan on keeping the information then you don't need to use a database to store the information. if you're logging it though, you can, i suppose.
-
Oct 23rd, 2006, 04:54 AM
#3
Addicted Member
Re: Temporary ID
well..
Assalam Allykum and Eid Mubarak 
You can try :
PHP Code:
$TempID = md5(uniqid(rand(), true));
Then Store $TempID in Database, Cookies, Sessions or whatever...
-
Oct 23rd, 2006, 05:56 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|