Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-05-22 01:20 GMT
Find Nodes?
    Voting Booth?