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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



Dubbs1231
newbie

Dec 8, 2000, 7:44 PM

Post #1 of 1 (325 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";
</pre><HR></BLOCKQUOTE>

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?

Thanks!

------------------
Erich Musick
emusick@garagedoor.org
http://emusick.garagedoor.org

 
 


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

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