#27 Extra Cookie for the newbb

XOOPS_2.2
closed
Jan Pedersen
5
2012-09-25
2004-04-29
Marko Schmuck
No

For the newbb we need an extra cookie for showing the
new posts since last login properly.

Greetz Predator

Discussion

  • Marko Schmuck
    Marko Schmuck
    2004-04-29

    checklogin.php with extra cookie

     
    Attachments
  • Jan Pedersen
    Jan Pedersen
    2004-04-29

    Logged In: YES
    user_id=841117

    Just out of curiousity - why can't you just get the time of
    the last login from the XoopsUser object?

     
  • Marko Schmuck
    Marko Schmuck
    2004-05-02

    Logged In: YES
    user_id=593200

    I will check this, maybe it works, i`ll keep you informed

     
  • D.J.
    D.J.
    2004-05-11

    Logged In: YES
    user_id=1001493

    Is it necessary to distinguish between "login to xoops"
    and "login to newbb"?

    If yes, this cookie should be set inside newbb module

     
  • Jan Pedersen
    Jan Pedersen
    2005-04-08

    Logged In: YES
    user_id=841117

    A new session variable (not a cookie) is set when the user
    logs in.

    It is accessible through $_SESSION['xoopsUserLastLogin'] and
    is in UNIX time format