[Typo3-dev] session data persistence weirdness - feedback please!

Martin Kutschker martin.kutschker at no5pam.blackbox.net
Fri Jul 1 09:27:40 CEST 2005


"Karsten Dambekalns" <karsten at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1120160232.1888.typo3-dev at lists.netfielders.de...
>
> Now that I think of it, maybe it is only half a bug.
>
> There may be cases when a FE session with some data associated needs to
> survive login/logout of a FE user. In that case the current behaviour 
> would
> be the correct one.

Hm.

> Using the dreaded example of the shopping basket, this obviously can be
> filled without a valid FE login.

BTW, is there some kind of hook to track anonymous sessions? I.e. I want to 
store each newly created *anonymous* session in the db, so I can have a true 
how-many-are-online feature. Last time I checked the new session is only 
sent as a cookie to the client.

> But one would most probably want to empty
> the basket when logging out.
>
> If we "fix" the behaviour the way I expected it, could this break existing
> code? Should another session type be added (ses, user, *userses*)?

Either that, or some kind of flag "clear-on-logout". But offhand I see no 
way to store that flag.

Masi 






More information about the TYPO3-dev mailing list