|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Cookie compatability |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|