login/session advice

Discussion in 'General Web Coding' started by snooper, Oct 1, 2013.

  1. snooper

    snooper Perch

    hi there

    when i build a login system, i usually use login by checking a users table, and then save the info in a cookie, which is time-defined.

    I am looking for a better more secure way to do this, which could include more advanced features, such as:
    1) checking that the users isnt logged in twice at the same time
    2) that the 'session' does not remain live if the browser window is closed
    3) more secure - doesnt mean saving user info in session (?)

    can anyone suggest anything?

    thanks!
  2. Stephen

    Stephen US Operations Staff Member

    Which programming language?
  3. snooper

    snooper Perch

    Classic ASP, but for now I'm just inquiring in the theory
  4. cdog

    cdog Perch

    You could adapt the concept of this tutorial 15daysofjquery.com/safer-contact-forms-without-captchas/11/ to your situation

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services