+

Search Tips   |   Advanced Search

Example: Request attributes and session attributes

Request values passed to the JSP or stored in the HTTP session can be referred to from rules. To refer to them in a rule, know the variables and their possible values.

The following example profiles news articles as read or unread by the current user, based on the page request generated by a form on a JSP.


Request attributes and session attributes

User News is        ReadNews when
            current Request.ProcessNews is Read
        UnreadNews when
            current Request.ProcessNews is Unread
        UnreadAllNews when
            current Request.ProcessNews is UnreadAll 


Parent: Profilers