PDA

Click to See Complete Forum and Search --> : Logging System - SessionID OK?


StrangerInBeijing
Jul 3rd, 2006, 04:30 AM
Hi,

I'm designing a new logging system for my site.
Hellova lot of stuff can be logged...I mean, there's over 21,000 news articles alone!
Anyhow, a user might not be logged in, so I cannot see who it is.
I was thinking that if I can log the user as he click on links, even though I donit know who it is, I still would like to see what he tried to do, or what "path" he took.

So my question is: Is a sessionid unique to the user's session? If a user open the main page, and jump between pages, will the sessionid remain the same (unless the session times out of course)

Any advice, ideas will be welcome. The current logging system implemented by the previous devleoper became obsolete and inefficient, now that we implemented new services.

Thanks in advance

Stranger

mendhak
Jul 3rd, 2006, 04:39 AM
Yes, SessionIDs are statistically unique. Allow, in your code, for the non-existence of SessionIDs as well, as some crawlers/browsers may not work with one.

StrangerInBeijing
Jul 3rd, 2006, 04:50 AM
thanks!
sure that last bit of info saved me of some trouble in future. :thumb: