Auto-login on forums

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mfmilan@gmail.com

    #1

    Auto-login on forums

    How does auto-login on web forum works? I have a forum of my own,
    created from scratch, and now I want to implement option that alows
    users to be logged in automaticly every time they open my forum, and
    also option "messages created after your last visit". I have tryed with
    sessions, but it doesn't working properly.

    So, can anyone tell me how should i do that(or where can i read
    something about that)?

  • Gary Hasler

    #2
    Re: Auto-login on forums

    Cookies!

    mfmilan@gmail.c om wrote:
    [color=blue]
    > How does auto-login on web forum works? I have a forum of my own,
    > created from scratch, and now I want to implement option that alows
    > users to be logged in automaticly every time they open my forum, and
    > also option "messages created after your last visit". I have tryed with
    > sessions, but it doesn't working properly.
    >
    > So, can anyone tell me how should i do that(or where can i read
    > something about that)?[/color]

    Comment

    • mfmilan@gmail.com

      #3
      Re: Auto-login on forums

      Thank you for this big & full of explanations answer! :)

      Really, i know that cookies is the solution, but how? (Session also
      works with cookies, btw). But how to know when some user left the
      forum? I need this, because i must know when he left, so i could tell
      him what he missed while wasn't on the forum. And how to implement this
      for every thread?

      Comment

      • Thomas

        #4
        Re: Auto-login on forums

        *<mfmilan@gmail .com> wrote:
        [color=blue]
        > Thank you for this big & full of explanations answer! :)
        >
        > Really, i know that cookies is the solution, but how? (Session also
        > works with cookies, btw). But how to know when some user left the
        > forum? I need this, because i must know when he left, so i could tell
        > him what he missed while wasn't on the forum. And how to implement this
        > for every thread?[/color]


        RTFM:




        --
        Thomas

        SELECT date FROM wife WHERE bitching = '0' AND sex = '1'

        Comment

        • Gordon Burditt

          #5
          Re: Auto-login on forums

          >Really, i know that cookies is the solution, but how? (Session also[color=blue]
          >works with cookies, btw). But how to know when some user left the
          >forum?[/color]

          The time of the last page access BEFORE the user comes back to the
          login page is your best guess as to when the user left. (Your
          logins do time out and not last forever, right?)
          [color=blue]
          >I need this, because i must know when he left, so i could tell
          >him what he missed while wasn't on the forum. And how to implement this
          >for every thread?[/color]

          You can't store this information in a session, or a cookie. (The
          user may have different computers at, say, home and work, and access
          the forum from both.) You need a database with records for each
          individual user.

          Gordon L. Burditt

          Comment

          Working...