Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    1

    Post Unanswered: How to Save Session UserName in a table using mysql...

    I want to save the session UserName in a table using mysql.
    I have the history of my base table(auction) update, delete, create information will get stored in a backup table(auction_log). I want to save username(who currently loged in and modifies the record in a table) too in the auction_log table.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    well, you're the one who wrote the app that allowed the user to log in

    so just use that name and save it along with the other data in the log table
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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