@SetHTTPHeader requires login

Hi,

when i use the @sethttpheader to set a cookie, domino ask me to login.

i.e. : external users (= anonymous) are browsing to our website, and we want to set the default language to the user’s selection.

function is : @SetHTTPHeader(“Set-Cookie”; “defaultlanguage=” + language+ “; expires=” + @Text(@adjust(@now;0;6;0;0;0;0); “S2”) )

please help