Results 1 to 10 of 10

Thread: Remember logged user information

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Wiki edits
    15

    Default Re: Remember logged user information

    There should be only one instance (Global Instance / Global Variable) of SessionManager, You should not create it at any other time. This is very reason (as I said in my earlier post) SessionManager will an ideal candidate for a Singleton class pattern.

    So when you need to access user info you should use the global instance of SessionManager (not create a new one)

  2. The following user says thank you to Santosh Reddy for this useful post:

    Alir3z4 (13th July 2011)

Similar Threads

  1. Remember code folding
    By giantdragon in forum Qt Tools
    Replies: 1
    Last Post: 19th June 2011, 07:17
  2. Replies: 2
    Last Post: 6th May 2011, 23:32
  3. Replies: 1
    Last Post: 5th May 2011, 04:47
  4. remember file path
    By eric in forum Qt Programming
    Replies: 2
    Last Post: 1st April 2008, 17:52
  5. Determining Logged In State
    By TheGrimace in forum Qt Programming
    Replies: 2
    Last Post: 22nd October 2007, 16:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.