Using the GT Library, is there a way to tell if setting a cookie was sucessful?
print $IN->header ( -cookie => $c );I'm using cookies for the primary tracking of shopping carts on my shopping cart plugin for LSQL, however I would like to be able to drop back to IP tracking or session tracking if the visitor has cookies turned off or blocked.
Thanks for any comments, help or ideas,
AlexJ
Code:
my $c = $IN->cookie (-expires => '+6M', -name => 'Cart_ID', -value => $cookies ); print $IN->header ( -cookie => $c );
Thanks for any comments, help or ideas,
AlexJ