ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-unix-users
perl-unix-users
RE: [Perl-unix-users] IE6 -> Perl Cookies - Unix/Linux vs. Window s
by Lingtren.com other posts by this author
Apr 17 2003 2:26PM messages near this date
[Perl-unix-users] Printing File name | RE: [Perl-unix-users] IE6 -> Perl Cookies - Unix/Linux vs. Window s
Hi,

Thanks for your reply!

I used/tried the following 2 different ways of coding:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
print "Set-Cookie:xxx=yyy\n";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
use strict;
use CGI ':standard';
$q = new CGI;
my $cookie1 = $q-> cookie(-name=>"xxx",-value=>"yyy");
print $q-> header(-cookie=>[$cookie1]);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This works fine on all browsers:
IE5(.5), Mozilla, Safari, Camino, ... 
on a variety of OS's... except on IE6(Windows)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If I may give you the URL's where I'm using it:
1. The Poll on http://www.deweertsport.be/
2. Cookie as country-number reminder on: 
http://www.adventureforum.net/worldfacts
(Redirection with Cookie value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards,

Bart Lenoir


Quoting "Thomas, Mark - BLS CTR" <Thomas.Mark@[...].gov> :

>  Lingtren.com wrote:
>  > Got a little problem- posted it on other mailing lists but no 
>  > replies. I'm trying to set a cookie using Perl(5.6) on Apache 
>  > Linux but IE6 doesn't accept it.
>  
>  Well, I think that Perl-Win32-Web would be the proper list. But first,
>  you're going to have to be specific and show the code you're trying to get
>  to work.  Are you using CGI.pm? CGI::Cookie? Another cookie module? Raw http
>  header munging? There's no reason why it shouldn't work, if done properly.
>  Neither the perl version nor OS have anything to do with it, really.
>  
>  
>  -- 
>  Mark Thomas                    Thomas.Mark@[...].gov
>  Internet Systems Architect     User Technology Associates, Inc.
>  
>  $_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;;
>   
>  
>  
>  > -----Original Message-----
>  > From: Lingtren.com [mailto:mail@[...].com] 
>  > Sent: Wednesday, April 16, 2003 3:29 PM
>  > To: perl-unix-users@[...].com
>  > Subject: [Perl-unix-users] IE6 -> Perl Cookies - Unix/Linux 
>  > vs. Windows
>  > 
>  > 
>  > Hi
>  > 
>  > Got a little problem- posted it on other mailing lists but no 
>  > replies. I'm trying to set a cookie using Perl(5.6) on Apache 
>  > Linux but IE6 doesn't 
>  > accept it. I tried the same script using Perl(5.8) on IIS 
>  > Windows and here IE6 
>  > does accept the cookie. I would like to think this is because 
>  > of the Perl 
>  > version but I'm not sure. Any ideas why this may be... ?
>  > 
>  > Thanks,
>  > Bart
>  > 
>  > 
>  > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  > ~~~~~~~~~~~~~~
>  > http://WWW.ADVENTUREFORUM.NET - Forum on World Travel and 
>  > Adventure - 
>  > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  > ~~~~~~~~~~~~~~
>  > http://WWW.ADVENTUREFORUM.NET/worldfacts 
>  > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  > ~~~~~~~~~~~~~~
>  > http://WWW.ADVENTUREFORUM.NET/worldnews
>  > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  > ~~~~~~~~~~~~~~
>  > _______________________________________________
>  > Perl-Unix-Users mailing list Perl-Unix-Users@[...].com
>  > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>  > 
>  
>  _______________________________________________
>  Perl-Unix-Users mailing list
>  Perl-Unix-Users@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>  


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://WWW.ADVENTUREFORUM.NET - Forum on World Travel and Adventure -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://WWW.ADVENTUREFORUM.NET/worldfacts 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://WWW.ADVENTUREFORUM.NET/worldnews
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved