Hello,
I am new to the boards and need some help. Here is what I am trying to do, and not having much luck finding the answer on my own:
-User signs up and a member ID is stored in a MySQL database
-When they login to my site I would like that person's member ID to be used as the session ID
-I also need that ID to be added to all clickable URL's and banners on the site for tracking purposes
What is the best way to do this. I would imagine it has something to do with using SID as a place holder in the URL's but does this work and how do I get the SID to be what the user's member ID is?
Any help would be greatly appreciated.
Thanks.
Using Session ID's for tracking purposes
Moderator: General Moderators
Code: Select all
<?php
session_start();
$_SESSION['Session_name'] = $memberid;
?>-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA