> 
> Is possible check if browser allow cookies when use %udat hash ?
> 
> 
> How can check if user had accept cookies in Embperl ?
> 

I don't have tested this, but I think the following should work:

The first page looks like:
[-

$udat{test} = 1 ;
# redirect to another page to see if the cookie gets passed
$http_headers_out{'Location'} = "http://$ENV{SERVER_NAME}/script2.epl" ;

-]

script2.epl:

[$if $udat{test} $]
Cookie set
[$else$]
Cookie not set
[$endif$]

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to