Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Reading a cookie from an active browser session

by Corion (Patriarch)
on Nov 20, 2013 at 16:05 UTC ( #1063549=note: print w/replies, xml ) Need Help??


in reply to Re^4: Reading a cookie from an active browser session
in thread Reading a cookie from an active browser session

Maybe you just have a lot of cookies? HTTP::Cookies::MozRepl is slow.

You could switch on the logging for your MozRepl client to see whether it is hanging or still doing something.

  • Comment on Re^5: Reading a cookie from an active browser session

Replies are listed 'Best First'.
Re^6: Reading a cookie from an active browser session
by xorl (Deacon) on Nov 20, 2013 at 16:33 UTC

    In the firefox scratchpad when I do alert(document.cookie) there are only a handful of cookies (like 7 or so). So I don't think it is too many cookies.

    The problem looks like mozrepl. When I telnet to it, and do alert(document.cookie) the alert says undef. I have a sinking feeling I'm being hit by that security feature that prohibits javascript from being run in the address bar and other places.

    Trying now to figure out how to turn on logging.

      So the problem was you have to pass Mozrepl something like:

      repl.enter

      I wish thiss MozRepl thing was better documented.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1063549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-08-19 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?