CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Cookies and IE5.5



Dec 8, 2000, 7:44 PM

Post #1 of 1 (425 views)
Cookies and IE5.5 Can't Post

I've been having problems with setting cookies in IE 5.5. I can set the cookie in Netscape perfectly fine, but it only works once in a while in IE.

<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

print "Set-Cookie: WSUnews_adminusername=$FORM{'adminusername'}; expires=$daysadmin[$wdayadmin], $mdayadmin-$monthsadmin[$monadmin]-$yearadmin $tymeadmin;\n";
print "Set-Cookie: WSUnews_adminpass=$FORM{'adminpassword'}; expires=$daysadmin[$wdayadmin], $mdayadmin-$monthsadmin[$monadmin]-$yearadmin $tymeadmin;\n";

is there an easier way to set cookies that works better and doesn't require any modules that some people may not have. (i'm giving this script away and other people need it to be able to work on their severs, regardless of server config and modules installed)

can someone please help me?


Erich Musick


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives