Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: "MojoX::Session" suddenly quit working?!

by snoopy (Deacon)
on Apr 03, 2009 at 03:04 UTC ( #755170=note: print w/ replies, xml ) Need Help??

in reply to "MojoX::Session" suddenly quit working?!

The test routines know that we have to set a phony IP-address, as Apache would do, which they do like this: $ENV{'REMOTE_ADDR'} = ''; (Remember, this code worked.)

Note the last change log entry for MojoX::Session:

0.08 2009-01-25 00:00:00 - tx is passed to session now - correct ip_match behavior

This is either suspicious or just a coincidence.

You might want to check that you haven't just upgraded to 0.08 and got a "working" ip_match, which has started turfing your dummy test IP addresses.

Comment on Re: "MojoX::Session" suddenly quit working?!
Download Code
Replies are listed 'Best First'.
Re^2: "MojoX::Session" suddenly quit working?!
by sundialsvc4 (Abbot) on Apr 03, 2009 at 03:26 UTC

    Ahhh... hmmmmm.... “By Jove, I think you‘ve got it ... ” Certainly the best-guess as to a culprit.

    What puzzles me is... I just refreshed everything, and it still fails both in test and in Apache. Which, as far as I know, it did not do before. (As in, earlier this week.)

      Maybe look for any calls of the form: MojoX::Session->new(..., ip_match => 1);.

      MojoX::Session may have suddenly started honoring the cross check on these dummy IP's (and failing) where it wasn't before.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2015-11-26 11:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls