in reply to IE not setting or retireving cookies

Well, IE 6.0 does what you say (or doesn't) and Opera doesn't do what you say (but what you want)

perhaps it's to do with the path you're seting it for IE has an issue with it's Content Advisor/Rathing thingy, that sometimes plays tricks on you (by making extra requests, that may reset the cookies)

i'm sure there are about 100 other IE bugs that munch cookies, but this was the one that came to mind ...

Perhaps you can pass your categories as GET's or have them as directores (or look like directories with tricks involving $ENV{PATH_INFO})

HTH

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Replies are listed 'Best First'.
Re^2: IE not setting or retireving cookies
by greymoose (Beadle) on Nov 13, 2006 at 20:29 UTC
    Hi f00li5h, Thanks for that comment.I'm thinking you may be right about using get instead of cookies. I may have bitten off more than I can chew at this point (pun intended).
    The catch is that I skipped over that bit of the tutorial when I was learning about forms and I can't find anything to learn about capturing the data from. Do you have any suggestions?
    Cheers,

      Well, the smart money is on use CGI and call the param method.

      Odds are that you'll eventually have had enough of usign that for more complicated forms and you'll want CGI::FormBuilder

      There are many good CGI tutorials out there, and even the bad ones are worth reading (if only once)

      In other news $ENV{PATH_INFO} will give you all the extra stuff in the url, after your script name, so if your script is host/foo.pl, and the request is made for http://host/foo.pl/clothes/shirt/hawiian, `clothes/shirt/hawiian' will appear in $ENV{PATH_INFO} and you simply feed that to a split '/' or some more complicated sub somewhere to map that extra string to some content that matches. (sadly, I don't have a pre-wrapped nugget-o-code to show off with, although i'd love to)

      merlyn also has some wicked-mad articlesl on stonehenge that you may be interested in oggling the now-defunct WebTechniques Magazine. - the Magazine is defunct, not the info therein.

      @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
        Excellent! I've got that working fine, but...
        When I run the data through a SELECT query for a MySQL database it says that it is not in the database which is weird because that is where it came from in the first place. (This is a work around for an IE bug.) If I hard code the data it finds it in the database.
        This works: my ($cat) = "Animals";
        Even though the data is the same this doesn't: my ($cat) = param(butCat);
        I haven't been able to find an answer in MySQL or Perl tutorials so far. Do you have any ideas?
        Thanks.

      In other news, Ovid wrote a failry security focused CGI tutorial that you may want to read over

      @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;