PhenixID

Count Session Attribute Size

Version: 1.1

Category: Process

Extended Category: Numeric, Session Attribute

Action Package: Standard Actions

Description

Counts the size of a Session Attribute value. Size will be given in bytes. If the Count Attribute is multivalue, the Result Attribute will also be multivalue.

Parameter

Description

Example

Attribute to Count:

[Mandatory] The attribute name containing the value to count the size of.

jpegPhoto

Attribute with Result:

[Mandatory] The attribute where the size, in bytes, will be placed. Will be created if the attribute does not exist.

photoSize

Use Cases

Example 1: Get the size of a jpeg photo

The target system only allows jpeg photo with a maximum size of 50 kB. Therefore we have to get the size of the photo that are stored in a Session Attribute.

Parameter

Value

Attribute to Count:

jpegPhoto

Attribute with Result:

photoSize


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se