From what I've figured as soon as you hit the site sessionids are generated... then later after you log in it marks those ids as logged in, in the sessions table...
Now, where the heck are they being generated?
I cleared all the cookies and watched my mysql log, and it appears the first occurance of a new session going into the database is when this is called:
REPLACE INTO `swsessions` (`sessionid`, `ipaddress`, `lastactivity`, `useragent`, `isloggedin`, `sessiontype`, `typeid`, `dateline`, `status`) VALUES('db727bd83414f2d92933c82cf5789558', '192 .168.1.10', '1213406775', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14)', '0', '40', '0', '1213406775', '0')
But fgrepping through the code doesn't find it
