in reply to Cookie not being set
your call
print header(-cookie=>$ucookie, -location=>$new_url);
is wrong, try thisIf you want to fullfill that with header() you must also supply a HTTP-Status code, eg. 302 Moved or 303 See Other.print redirect( -uri=>$new_url, -cookie=>[$ucookie] );
|
|---|