Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Randomness encountered with CGI Session

by Anonymous Monk
on Jun 09, 2010 at 04:18 UTC ( #843806=note: print w/ replies, xml ) Need Help??


in reply to Randomness encountered with CGI Session

How are you seeing this behavior?

Create a test program , with verbose logging, and run it for a few thousand interation locally, through localhost webserver, and through non-localhost webserver. Examine the log files.

You should be able to discover if the problem exists and where, or if its merely an illusion problem :)


Comment on Re: Randomness encountered with CGI Session
Replies are listed 'Best First'.
Re^2: Randomness encountered with CGI Session
by Anonymous Monk on Jun 09, 2010 at 06:45 UTC

    Because it happens randomly, it was discovered by chance.

    I followed up with more tests - manually - and confirmed the existence of the unexpected behaviour.

    I'm clueless at this point - it's a bit like you have a variable set to "Hello World" and it's always printing "Hello World" but once in the blue moon you see "hello there" printed ;)

      Clueless about what?

      You contend there is a problem with CGI::Session, it happens randomly, but that you've confirmed it manually.

      Great, here is how you go about fixing it.

        I didn't mean to say there is a problem with CGI::Session directly. I said I had encountered a problem (a strange phenomenon that happens randomly) when using CGI::Session.

        With a good night's sleep, I was able to run more tests and came out with new hypotheses about how the bug was triggered. But I need to confirm these hypotheses with real users. So I've taken your advice - thanks :) - to do logging at suspicious points in my code.

        I was clueless yesterday because I was looking at the code and could not figure out any parts that could trigger that bug, so I wouldn't know what to log and where.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-07 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls