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. Windows Forms
  4. Windows Client for my portal.

Windows Client for my portal.

Scheduled Pinned Locked Moved Windows Forms
design
8 Posts 4 Posters 20 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.
  • A Offline
    A Offline
    ashu2001
    wrote on last edited by
    #1

    Dear All, I have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it must not ask to log in with its username and password again. Please suggest and give your views. ashish sharma

    ashish sharma

    L D E 3 Replies Last reply
    0
    • A ashu2001

      Dear All, I have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it must not ask to log in with its username and password again. Please suggest and give your views. ashish sharma

      ashish sharma

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You already posted this question at Windows Client for web portal - ASP.NET Discussion Boards - CodeProject[^]. Please do not repost.

      A 1 Reply Last reply
      0
      • L Lost User

        You already posted this question at Windows Client for web portal - ASP.NET Discussion Boards - CodeProject[^]. Please do not repost.

        A Offline
        A Offline
        ashu2001
        wrote on last edited by
        #3

        Yes I do. I thought that i need a windows solution(or any idea) so its better to put this question in windows forum as well.

        ashish sharma

        L 1 Reply Last reply
        0
        • A ashu2001

          Dear All, I have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it must not ask to log in with its username and password again. Please suggest and give your views. ashish sharma

          ashish sharma

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          It is intranet. Can't you just use windows authentication?

          "You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[^]

          A 1 Reply Last reply
          0
          • A ashu2001

            Yes I do. I thought that i need a windows solution(or any idea) so its better to put this question in windows forum as well.

            ashish sharma

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Please read: Forum Guidelines - PLEASE READ - Windows Forms Discussion Boards - CodeProject[^], especially point 1.

            1 Reply Last reply
            0
            • D dan sh

              It is intranet. Can't you just use windows authentication?

              "You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[^]

              A Offline
              A Offline
              ashu2001
              wrote on last edited by
              #6

              Yes, I can. But my portal uses the employeeID as login id with its custom password. but for this i need to make a way out to map employeeID with domain user. But i never used windows authentication. Is there any other way of get around ?

              ashish sharma

              D 1 Reply Last reply
              0
              • A ashu2001

                Yes, I can. But my portal uses the employeeID as login id with its custom password. but for this i need to make a way out to map employeeID with domain user. But i never used windows authentication. Is there any other way of get around ?

                ashish sharma

                D Offline
                D Offline
                dan sh
                wrote on last edited by
                #7

                What I am suggesting is that you totally get rid of form based authentication. You should just have windows authentication. This will eliminate all the need to maintain uses in database. If you are managing roles and rights in database you can either move that to active directory where each role will be transformed to an AD group and based on group you set rights in code. If this is not feasible, keep authentication windows based but have authorization done in code through database tables. Here[^] is a blog that shows how to implement windows authentication with database based authorization.

                "You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[^]

                1 Reply Last reply
                0
                • A ashu2001

                  Dear All, I have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it must not ask to log in with its username and password again. Please suggest and give your views. ashish sharma

                  ashish sharma

                  E Offline
                  E Offline
                  ellegonzalez
                  wrote on last edited by
                  #8

                  A website can always store a cookie on users device and then exchange it to see if he logged in today. If his last visit was from within 24 hours, then show him the content. Otherwise, redirect him to the authentication page.

                  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