![]() |
| > Home > Documentation > Latest documentation > Interchange tags > dump |
|
dumpReturns a dump of various user and session-related information. Summary
ExamplesPerl example
or similarly with positional parameters:
DescriptionThis tag can be very useful for debugging. It uses the Data::Dumper Perl module to format and return the following as a large block of text:
For instance, you can dump the entire session with the following:
You use the following to dump the only contents of the cart(s), with no other session information:
See the key parameter for more information. ParameterskeyThis parameter can be used to limit the dump to a specific subset of the session data. The following keys are usually the most useful:
Other keys are available. Use the [dump] tag with no key to see the entire list. no_cgiDon't show CGI variables in the dump. This parameter has no effect if the key parameter is also specified. no_envDon't show HTTP environment variables in the dump. This parameter has no effect if the key parameter is also specified. no_sessionDon't show session content data. This parameter has no effect if the key parameter is also specified. show_allShow all CGI variables, including ones that would normally be hidden from view. The special "hidden" variables are as follows:
This parameter has no effect if either the key or no_cgi parameters are also specified.
|
| Home | Legal nonsense | Privacy policy | Contact us |