|> Home > Documentation > Latest documentation > Interchange tags > dump|
Returns a dump of various user and session-related information.
or similarly with positional parameters:
This 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.
This 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.
Don't show CGI variables in the dump. This parameter has no effect if the key parameter is also specified.
Don't show HTTP environment variables in the dump. This parameter has no effect if the key parameter is also specified.
Don't show session content data. This parameter has no effect if the key parameter is also specified.
Show all CGI variables, including ones that would normally be hidden from view. The special "hidden" variables are as follows: