CGInitiate has asked for the wisdom of the Perl Monks concerning the following question:
Then, later on, i'll read it with something like this:push (@styleck, $style); $netdriver_stylesheet = $stl -> cookie ( -name => 'netdriver_stylesheet', -value => $style, ); print $stl -> header (-cookie => $netdriver_stylesheet);
Problem: while this code works great on my local system (set up with Indigoperl & win '98), but when i publish it to the web (a Linux OS-- not sure if this might be the root of the problem), the script apparently fails to set the cookie.@preference = $page -> cookie('netdriver_stylesheet'); if (@preference[0] ne "") { $style = "@preference[0]"; } else { $style + = "driver"; }
Is there some help out there...? Anybody, anybody...?
Thanks and God bless....
'i'nitiate
:^)
Edit by dws to remove extraneous <br/> tags from within <code> blocks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: jr-level cookie question....
by cfreak (Chaplain) on Jul 19, 2002 at 18:40 UTC |