in reply to Confusion using CGI Session
-nostickyBy 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.
Sometimes this isn't what you want. The -nosticky pragma prevents this behavior. You can also selectively change the sticky behavior in each element that you generate.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Confusion using CGI Session
by Anonymous Monk on Dec 07, 2006 at 01:54 UTC | |
|
Re^2: Confusion using CGI Session
by stumbler (Acolyte) on Dec 07, 2006 at 12:35 UTC | |
by shmem (Chancellor) on Dec 07, 2006 at 23:19 UTC |