in reply to Re: IE cookies problem
in thread IE cookies problem

Evan, thanks for the suggestions, but wondering if you could expand a bit...

1. Use Data::Dumper and die Dumper $cookie

Where do i put the "die Dumper $cookie" line?
2. Use tshark to examine the traffic over port 80, type http, print the request, diff it with the request from Moz. The result is your problem
tshark seems to be part of wireshark? i load this on the server? i have no idea about this....if you could help point me in the right general direction....
I appreciate the ideas - since this is a very frustrating situation for me and my users (although, i wish they'd all just switch to firefox, at this point!!)

Replies are listed 'Best First'.
Re^3: IE cookies problem
by EvanCarroll (Chaplain) on Jul 09, 2007 at 16:51 UTC
    You would put the die Dumper line, right after you first set $cookie.
    Tshark doesn't have to be loaded on the server, just run it on any machine making the request. The idea is you want to capture the request both browsers are sending, since only one type of browser, Moz, works.


    Evan Carroll
    www.EvanCarroll.com
      thanks, i'll try both of those tonight -have to go deal with non-computer stuff right now....

      where do i find tshark? when i googled it, i was sent to wireshark? is that the same thing?

        tshark is the command line version of wireshare. Because I do this a lot, here is an example of syntax. tshark -f "dst port 80" -R "http.request" -w request

        This will capture all http requests on port 80 and save them to file ./request
        The request that you are having problems with should be different, because if two browsers are generating the same request to a server, then they should receive the same result. (unless this is a contrived example)

        You can run the test with IE to see the request it generates using IES4Linux (as a side note you can do some awesome stuff by exporting to PDML or libpcap and parsing with perl)


        Evan Carroll
        www.EvanCarroll.com