[Zope] Re: dtml-in mapping, and sessions

Alejandro Fernandez ale@e-group.org
Mon, 8 Jul 2002 17:07:49 +0200


Hi,

Please excuse my previous email about dtml-in getting key errors when
using batch variables: I'm convinced now that the reason this whole thing
is not working is because of the "mapping" attribute: how can I format my
request result so that I don't need this attribute? It's currently looking
like this: 

[{'DT_FIRST_ACCESS': '2002 06 25 03 58 31', 'REQUESTS': 109820, 'URL':
'/index.html', 'SESSIONS': 145, 'PROC_TIME': 3.0, 'UNIQUES': 1234,
'DT_LAST_ACCESS': '2002 06 26 03 58 31'}, 
{'DT_FIRST_ACCESS': '2002 06 25 03 59 39', 'REQUESTS': 94203, 'URL':
'/about.html', 'SESSIONS': 672, 'PROC_TIME': 3.0, 'UNIQUES': 920,
'DT_LAST_ACCESS': '2002 06 26 03 59 39'}, 
{'DT_FIRST_ACCESS': '2002 06 25 04 01 18', 'REQUESTS': 29348, 'URL':
'/help/explain.html', 'SESSIONS': 743, 'PROC_TIME': 3.0, 'UNIQUES': 942,
'DT_LAST_ACCESS': '2002 06 26 04 01 18'}, 
{'DT_FIRST_ACCESS': '2002 06 25 04 01 52', 'REQUESTS': 43425, 'URL':
'/gallery/1.html', 'SESSIONS': 23, 'PROC_TIME': 3.21, 'UNIQUES': 764,
'DT_LAST_ACCESS': '2002 06 26 04 01 52'}]

I think if this could be altered so it didn't need "mapping", then the
dtml-in loop would be able to use all the little batch
variables(sequence-query etc) that are now not allowed...

is this true?

Thanks,

Ale

-- 
Alejandro Fernandez
Electronic Group Interactive
--+34-65-232-8086--