create a cookie within link listener invocation