Hi
I've got the following code to set a cookie:
-name => 'sesh_id',
-value => $rand_id,
-expires => '+2M',
-path => '/',
-host => '.wyb2003.co.uk'
);
However, I want to know how to match both these domains:
www.wyb2003.co.uk
Currently, I have .wyb2003.co.uk which matches anyprefix.wyb2003.co.uk but not wyb2003.co.uk on it's own.
Thanks
- wil
I've got the following code to set a cookie:
Code:
my $cookie_sesh_id = $query->cookie ( -name => 'sesh_id',
-value => $rand_id,
-expires => '+2M',
-path => '/',
-host => '.wyb2003.co.uk'
);
However, I want to know how to match both these domains:
Code:
wyb2003.co.uk www.wyb2003.co.uk
Currently, I have .wyb2003.co.uk which matches anyprefix.wyb2003.co.uk but not wyb2003.co.uk on it's own.
Thanks
- wil