$page->hash() decrypt / call page

i was wondering some things dealing with $page->hash() as well as tinyurls

is there any way to get a page by their hash/tinyurl ?

such as

$page->find('hash-code')->title()

or to decrypt the hash code to get the respective real uri/uid to get around everything if the above is not working out of the box with any sort of method.

basically at one point rather than using the uid, was thinking about using hash instead so the hash is saved in a session. at another point i want to read out all session values and use those hashes to get back to the pages behind those.

1 Like

thanks, that gave the solution right away.