Gossamer Forum
Home : Products : Gossamer Links : Discussions :

set Cookie from Subroutine

Quote Reply
set Cookie from Subroutine
Hi,

I am trying to set a cookie from a user defined subroutine but could not yet find a nice way to print it in the header.
I want to track a guests way through the directory and store it in a file. So I only need to set the cookie once and then only check if it is available.
I could do it with javascript but would much more appreciate using the print $IN->header() part but if I use the -force option the cookie is only prited as html in the output not as header.
Does anyone have a hint for me.

Thanks

n || i || k || o