thanks Gerald,

I probe that after sent email, and work fine ...

I use http://$ENV{'HTTP_HOST'}/

Is better http://$ENV{SERVER_NAME}/  or more correct ?

Bye

At 05:26 12-09-2000 +0200, Gerald Richter wrote:
>
> 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
-------------------------------------------------------------




Mario F. Toro
Gerente Desarrollo
E-Mail : [EMAIL PROTECTED]
Telefono : +(56)-2-2368138
Fax : +(56)-2-2368139
Http://www.DeveTel.cl
DeveTel



Chile Wap - Wireless TechnologiesChile Wap - Wireless Technologies

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

Reply via email to