[Typo3-dev] cHash doesn't respect session values

Elmar Hinz elmar.hinz at vcd-berlin.de
Fri Sep 16 22:51:10 CEST 2005


Hi all,

I have a typical situation. There is

a) a browselist of table entries with listbrowser and orderBy clickies

b) links to the detail views of the entries, which themself split into 3 
  views each

Dynamic solution: When the visitor has visited a details view and goes 
back to the browslist, it is nice to find it in the same state as before 
selecting the details view. I store "pointer" and "orderBy" into the 
session to reach this target. This only works if I set the browselist to 
no-cache.

Cached solution: The alternative way would be to keep "orderBy" and 
"pointer" in all links inside the datails view. Then I could work with 
the cHash feature. A lot of "offset views" in combination with different 
"orderBy selections" would result in many cached views for the list.

Which way do you think better for this typical combination of browselist 
and details view?


Regards

Elmar















More information about the TYPO3-dev mailing list