Go to SpilledThoughts.com... That is a website I built and it doesn't use cookies or session ID's, but has a complete user login system. Here's the essentials of what I am doing. When a user logs in, I create and MD5 string that references back to a table with their information. I then append this ID string to the end of every link that appears on my site. Here's an example:
Before logging in:
<A HREF='some_link.php'>
After loggin in:
<A HREF='some_link.php?user=12345678901234567890123456789012'>
This is actually very easy to accomplish if at the top of you page you create a variable that will hold the user ID number, oh let's say it's called $login_string1 (I use the 1 at the end for a reason you will see later). This is what the actual link would like in the PHP file.
<A HREF='some_link.php$login_string1'>
Now if the user is not logged in, then $login_string1 is empty, otherwise it has there information and gets added to the URL. The only time this ever gets hairy is when dealing with mutiple url variables.
Say you are wanting:
<A HREF='some_link.php?this=that'>
And you want to also use the login string, well... easy fix.
Use two login strings:
$login_string1 = "?user=12345678901234567890123456789012";
$login_string2 = "&user=12345678901234567890123456789012";
Now if you ever want to use a URL that has multiple variables in it, you just use $login_string2.
<A HREF='some_link.php?this=that$login_string2'>
This may seem a little crazy but it works and it works beautifully. Anyone that disagress has never used SpilledThoughts.com. Hey, anything I can do to help get this world to quit eating from the cookie jar, I will. If you need more detail (God Help Us), just repost... or hey... maybe try going to SpilledThoughts.com and post it there. Then you can use the site and see exactly what I am talking about.