Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by snoopy (Curate)
on Apr 03, 2009 at 03:04 UTC ( [id://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'} = '1.2.3.4'; (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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found