Page History Functions

Posted on 21 June 2017
A staggering 96% of those surveyed by application platform, KnowledgeKube, identified that more than a quarter of their processes were inefficient.

GetCurrentPageURL returns the path of the current page (e.g. /documents/reports?id=12), similar to the CURRENTPAGEURL element tag:

GetCurrentPageURL( );


GetLastPageURL returns the path of the last visited distinct page, similar to the LASTPAGEURL element tag.

GetLastPageURL( );


AddPageHistory manually adds a path of your choosing to the top of the session’s page history, making it the most recent entry. If the specified path already exists in the history, it will be removed from its current position first.

AddPageHistory( "<SITE>/summarypage" );


RemoveCurrentPageURL deletes the current page’s path from the top of the session’s page history. This allows you to ignore the current page if you navigate away from it and then return the ‘last’ page.

RemoveCurrentPageURL( );


ClearPageHistory deletes all entries from the session’s page history.

ClearPageHistory( );
Posted: 21/06/2017 00:00:00 by Andrea Lantos | with 0 comments

Blog post currently doesn't have any comments.