Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 25th, 2001, 06:57 PM
tigris tigris is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Australia
Posts: 0 tigris User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to tigris
Question

Hey guys and gals,

i want to keep an order ID in a cookie, which is working fine in netscape, but not in IE..

basically to set the cookie this is the code
my $the_cookie = $query->cookie(-name=>'order_id', -value=>$order_id);
print $query->header(-cookie=>$the_cookie);

to read the cookie back in, this is my code
my $order_id = $query->cookie(-name=>'order_id');

ok, now my problem is, that when i take the code that reads the cookie back in, try it in another script it should read back in the same cookie right? so essentially im passing a value from one page to the next... the value reads in just fine in netscape, but in IE its as if the cookie isnt set, but it IS set from the script i set it from but its only accessable from that script... annoying me...

can anyone give me a hint on how to fix this?

cheers
Danial

Reply With Quote
  #2  
Old February 25th, 2001, 08:31 PM
tigris tigris is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Australia
Posts: 0 tigris User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to tigris
Talking silly me

no matter guys... played around with the parameters for the cookie method, i red in the CGI man page that / was the default path... so i didnt bother defining one... works fine in netscape... turns out the default path for IE is hardcoded to your current script... how lame is that... those MS people... doh...

Danial

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Cookie compatability


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway