Thanks, But I was thinking of using or rather testing by putting the value as "loggedout". Do you think this won't work. Okay, i attaching the code below
redirect_with_cookie
{
$authcookie = cookie(-name=>'ashAuth',
-value=>'loggedout',
-expires=>'-1m',
-path=>'/',
-domain=>'.ash.com',
-secure=>0);
$admincookie = cookie(-name=>'ashAdmin',
-value=>'loggedout',
-expires=>'-1m',
-path=>'/',
-domain=>'.ash.com',
-secure=>0);

print redirect(-cookie=>[$authcookie, $admincookie],
-location=>$firstpage);
Somehow this is not working. when as a user, I am signing off.