Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: CGI Not Returning Parameter that's there

by cormanaz (Deacon)
on Mar 21, 2009 at 22:32 UTC ( #752302=note: print w/replies, xml ) Need Help??


in reply to Re: CGI Not Returning Parameter that's there
in thread CGI Not Returning Parameter that's there

Well obviously it's not getting set, that's the problem. Yet it is getting passed from the client as indicated by the log, the variable is showing up in the parameter list, and the value is getting set most of the times I try the script.
  • Comment on Re^2: CGI Not Returning Parameter that's there

Replies are listed 'Best First'.
Re^3: CGI Not Returning Parameter that's there
by linuxer (Curate) on Mar 21, 2009 at 22:57 UTC

    Sorry, the shown log entry doesn't say anything about the parameter list for the request which produced that log entry.

    It shows your warning message (which indicates that parameter h wasn't set) with an empty string, a whitespace (or a possible undef in $h) at the position where $h should be interpolated... it's hard to guess, what caused that empty space between h: and t:.

    The log doesn't say anything about the actual parameter list for the logged request.

    What we see is the referrer's URL. That's the URL you were coming from (probably the URL you called before this logged one). And that URL contained parameter h in its query string (parameter list).

    If I'm so badly wrong on this, please enlighten me and explain that log format to me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2023-01-29 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?