Results 1 to 5 of 5
  1. #1
    Skipito is offline Member
    Join Date
    Jul 2011
    Posts
    7
    Rep Power
    0

    Default Save logged in user

    Hello,

    This post is not for a web based application.

    I have a login form, a login panel and its working perfect.
    However, I want that the application knows which user is currently signed in (as admin or member for example who have different rights).

    But how can I save, lets say, the name of the current logged in user for every class?

    Thanks!!

  2. #2
    joeyvitoro is offline Member
    Join Date
    Oct 2011
    Posts
    90
    Rep Power
    0

    Default Re: Save logged in user

    Do you have a user class? User.getAccessLevel ?...

  3. #3
    Skipito is offline Member
    Join Date
    Jul 2011
    Posts
    7
    Rep Power
    0

    Default Re: Save logged in user

    No. I have a database where a user is saved (registered).
    When he logs in it says: ''welcome username''. But when I click on something else, and return back, it's gone.

  4. #4
    jacobblack is offline Member
    Join Date
    Dec 2011
    Posts
    5
    Rep Power
    0

    Default Re: Save logged in user

    Hello,

    could not find it and my brain is going to explode. Sorry if this has been answered. Maybe someone can help.

    How can i write the username or user id of the user who is logged into xataface into the table. For instance when a new record is added i would like to save who added it.

    thanks,

  5. #5
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,520
    Blog Entries
    7
    Rep Power
    20

    Default Re: Save logged in user

    @Jacobblack:please don't hijack someone else's thread; start your own thread.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Java Windows logged in user Info
    By vishrut_n_shah in forum New To Java
    Replies: 1
    Last Post: 11-17-2011, 03:56 AM
  2. Save Input of User in Strings!
    By Alerhau in forum New To Java
    Replies: 5
    Last Post: 06-12-2011, 10:20 AM
  3. save user input
    By ardel in forum New To Java
    Replies: 9
    Last Post: 02-15-2011, 03:26 AM
  4. Getting logged in user's password.
    By cool in forum AWT / Swing
    Replies: 2
    Last Post: 11-03-2010, 06:42 AM
  5. Replies: 2
    Last Post: 05-06-2010, 05:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •