[geeklog-devel] Geeklog Topics - This is how they will work

Tom websitemaster at cogeco.net
Sat Oct 1 10:31:36 EDT 2011

I just looked at the session code a bit and I see what you mean. Anonymous
users are not really tracked. As far as I can tell no session cookie is set
for them and the session id just keeps changing when an anonymous user goes
from page to page, it looks like anonymous users are just tracked by ip.

I do not really want to get into modifying the session library but it looks
like I probably do not have a choice if this is the direction I want to go.
The library probably should be rewritten to use php sessions but that is
beyond the scope of what I have planned to do.

Does anyone have a problem if I go ahead and add in anonymous user tracking
by the use of the session cookie and then add in the ability of Geeklog to
set the current topic in the Geeklog sessions table? Would this create any
problems elsewhere?



-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Joe Mucchiello
Sent: September-30-11 9:21 PM
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Geeklog Topics - This is how they will work

When I last looked at this, the problem was the session code. I don't think
it has changed much since then. There is no reliable way to find out what
session is the "current" session because lib-session does not expose such a
variable. And there are a few edge cases in the code that makes it a bit of
a hassle to try exposing the session with a healthy restructuring of the
session code. IIRC, going from not logged in to logged in is one of those
edge cases.

geeklog-devel mailing list
geeklog-devel at lists.geeklog.net

More information about the geeklog-devel mailing list