Skip to Content
Hands-On GUI Programming with C++ and Qt5
book

Hands-On GUI Programming with C++ and Qt5

by Lee Zhi Eng
April 2018
Intermediate to advanced
404 pages
8h 27m
English
Packt Publishing
Content preview from Hands-On GUI Programming with C++ and Qt5

Sessions, cookies, and cache

Just like any other web browser, the WebEngine module also supports mechanisms used to store temporary data and persistent data for session and cache. Sessions and cache are very important as they allow websites to remember your last visit and associate you with data, such as a shopping cart. The definitions of a session, a cookie, and a cache are shown as follows:

  • Session: Normally, sessions are server-side files that contain user information with a unique identifier, which gets sent from the client side to map them to a specific user. In Qt, however, a session simply means a cookie that doesn't have any expiration date, and hence it will be gone when the program is closed.
  • Cookie: Cookies are client-side files ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield

Publisher Resources

ISBN: 9781788397827Supplemental Content