Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how do you keep user info in program?

how do you keep user info in program?

Scheduled Pinned Locked Moved C#
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    calendarw
    wrote on last edited by
    #1

    Hi, I would like to how do you keep user info (authenticated object) into program? are you create a centralize controller for keeping that in static method?

    M 1 Reply Last reply
    0
    • C calendarw

      Hi, I would like to how do you keep user info (authenticated object) into program? are you create a centralize controller for keeping that in static method?

      M Offline
      M Offline
      Mbah Dhaim
      wrote on last edited by
      #2

      calendarw wrote:

      are you create a centralize controller for keeping that in static method?

      yes usually i create static class to hold data that will be accessed in other objects, like "session" in webserver

      dhaim ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro" in the front line gave a lead, in the middle line build goodwill, in the behind give power support

      J 1 Reply Last reply
      0
      • M Mbah Dhaim

        calendarw wrote:

        are you create a centralize controller for keeping that in static method?

        yes usually i create static class to hold data that will be accessed in other objects, like "session" in webserver

        dhaim ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro" in the front line gave a lead, in the middle line build goodwill, in the behind give power support

        J Offline
        J Offline
        jo H
        wrote on last edited by
        #3

        Have you looked at the Settings of the Project Properties? This is usually where you would store user configuration settings.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups