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

Re^4: Apache Registry with Server Side Includes

by Anonymous Monk
on Jan 02, 2012 at 17:22 UTC ( #945936=note: print w/replies, xml ) Need Help??


in reply to Re^3: Apache Registry with Server Side Includes
in thread Apache Registry with Server Side Includes

Any insights would sure be appreciated... Thanks!

A feature is a feature, read the docs, look for "sticky"

  • Comment on Re^4: Apache Registry with Server Side Includes

Replies are listed 'Best First'.
Re^5: Apache Registry with Server Side Includes
by Eliya (Vicar) on Jan 02, 2012 at 17:50 UTC

    If you're referring to this feature

    "By default the CGI module implements a state-preserving behavior called "sticky" fields. The way this works is that if you are regenerating a form, the methods that generate the form field values will interrogate param() to see if similarly-named parameters are present in the query string. If they find a like-named parameter, they will use it to set their default values."

    I don't think this has anything to do with what the OP is observing. There's no "regenerating a form" in the above code. Actually, there's no form involved at all, as the OP is directly supplying the parameter in the URLs called via SSI. A directly specified value ?count=10 should clearly override any value from a previous request.

      I don't think this has anything to do with what the OP is observing.

      Ok.

      But, there is no way the OP could observe anything like he claims :) "ModPerl::Registry" does not support SSI

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945936]
help
Chatterbox?
[Lady_Aleena]: And I forgot to do the array check, I'm such a doofus today.
[Lady_Aleena]: push @line, ref($list_addition ) eq 'ARRAY' ? @$list_addition : $list_addition if $list_addition; #trying again
[shmem]: Discipulus: yummy. I like those. Didn't have them for some time now, forgot the name. Should go get some...
[shmem]: Lasy_Aleena: correct, although for clarity I'd use an if() block, not a statement modifier
[shmem]: this allows you to add an else if maintainance makes it neccesary
[Lady_Aleena]: shmem, okeydokey.
[shmem]: ...or logging or debugging or such

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-04-27 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (504 votes). Check out past polls.