peterlu
10 years agoChampion
authentication ticket
Hi,
On Forum Topic Page, in each message reply, we can see a options dropdown. In the dropdown, we have "delete" link if logged in as admin.
By looking at this link, we have something like:
/t5/forums/forumtopicpage.deletemessage:deletemessage/message-uid/5?t:ac=board-id/TestForum1/message-id/1/thread-id/1&t:cp=boards/contributions/messageactions&ticket=lecWMMrPcKj1_23
Please note the parameter marked as red. I have found this ticket=somevalue in a lot of places on the html link href.
My question is :
In freemarker, how can we generate this ticket value if a user is logged in. This value does not look like session token. Is there anyway I can generate it from server side (freemarker) ?
Peter