.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../../Includes.txt .. _administrators_bestpractise_session_lastuid: Last Uid ======== The Browser stores the last uid of a selected single view in a session. This is useful, if you like to render data independend of Browser plugins like: * Your last news was ... Setup ----- Read the uid of a defined table from the session: .. code:: php page = PAGE page { // get the last uid for the table tx_quickshop_provider 2022 = TEXT 2022 { data = session: tx_browser_pi1|tx_quickshop_provider|lastSelected noTrimWrap = |

The last uid of tx_quickshop_provider: |

| } } Write to Session ---------------- If you want to know, how to write an uid of a current record to the browser session, please refer to: :ref:`Administrators > Best Practise > User Functions > Session `