[Templates] Newbe: Add a session to each intern href
Listen Mail Addy
liste@mi-espacio.com
Fri, 15 Jun 2007 16:14:38 +0200
> On Jun 15, 2007, at 1:00 PM, Listen Mail Addy wrote:
>
>> Hi List, this is Thomas
>>
>> I'm quite new at TT, and i hope anyone can give me a hand on my subject.
>> Given problem exists if a user does not accept cookies, i have to send
>> the session by the A -TAG, but i didn't find any hint how to edit the
>> tt->process that it is able to add a value to any href starting with
>> "http.." or "/..."
>>
>> Is there any way to do so? FILTER??
>
> Isn't this something you want to do in your perl logic _before_ you send
> it to TT?
>
If you have an idea how?
I have links in my TT-Files for external http://... and internal "/..." the
perl logic does not know about the links, only the TT-process knows about
the link, when it parses the template?
so my idea was that the tt-process has any way to edit the template by
adding a session value to each link, like PHP it does.
What i don't want to do is editing each link with somthing like [%no_cookies
; session_url%] - i was think of any usfull function inside the tt-monster
;-)
Bye Thomas