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. Web Development
  3. ASP.NET
  4. Help needs in Logging In

Help needs in Logging In

Scheduled Pinned Locked Moved ASP.NET
helpquestion
5 Posts 4 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.
  • S Offline
    S Offline
    Senthil S
    wrote on last edited by
    #1

    Hai All, I needs help in a login page that if a user entered into a page by username and password,if he will reopen the same login page in a new tab or in a new browser. He will automatically redirected to the logged in home page How it can be done? I tried with session, it will work nicely in new tab option but for new browser means the session automatically recreated with different id and not allowing me to logging In without the verification. Can any one give an concept/technology to solve this problem. Thanks in Advance with regards,

    Senthil.S A Software Engineer

    C S D 3 Replies Last reply
    0
    • S Senthil S

      Hai All, I needs help in a login page that if a user entered into a page by username and password,if he will reopen the same login page in a new tab or in a new browser. He will automatically redirected to the logged in home page How it can be done? I tried with session, it will work nicely in new tab option but for new browser means the session automatically recreated with different id and not allowing me to logging In without the verification. Can any one give an concept/technology to solve this problem. Thanks in Advance with regards,

      Senthil.S A Software Engineer

      C Offline
      C Offline
      cyber drugs
      wrote on last edited by
      #2

      Have you tried cookies yet?

      S 1 Reply Last reply
      0
      • C cyber drugs

        Have you tried cookies yet?

        S Offline
        S Offline
        Senthil S
        wrote on last edited by
        #3

        No. Actually i used the same sessions on most of the pages and i don't not to change sessions to cookies.

        Senthil.S A Software Engineer

        1 Reply Last reply
        0
        • S Senthil S

          Hai All, I needs help in a login page that if a user entered into a page by username and password,if he will reopen the same login page in a new tab or in a new browser. He will automatically redirected to the logged in home page How it can be done? I tried with session, it will work nicely in new tab option but for new browser means the session automatically recreated with different id and not allowing me to logging In without the verification. Can any one give an concept/technology to solve this problem. Thanks in Advance with regards,

          Senthil.S A Software Engineer

          S Offline
          S Offline
          saanj
          wrote on last edited by
          #4

          Hi, Does your requirement allow you to use Windows Authentication? If it is yes, then just use that.

          Either you love IT or leave IT...

          1 Reply Last reply
          0
          • S Senthil S

            Hai All, I needs help in a login page that if a user entered into a page by username and password,if he will reopen the same login page in a new tab or in a new browser. He will automatically redirected to the logged in home page How it can be done? I tried with session, it will work nicely in new tab option but for new browser means the session automatically recreated with different id and not allowing me to logging In without the verification. Can any one give an concept/technology to solve this problem. Thanks in Advance with regards,

            Senthil.S A Software Engineer

            D Offline
            D Offline
            D4ever
            wrote on last edited by
            #5

            or the simple way is just keep a flag in database means when the user logs in set the flag to true and check this flag's value on Page Load event of the login page i.e if the flag is true the it will automatically redirect the page to another page else will not do any thing means will simply load the login page. and set flag to false when logged out this will serve your purpose. In this case you can open no of windows dont worry it will definately open as logged in.

            Darshana Pathak

            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