Menu

#207 Keep Users Logged In with reentry.php

open
nobody
1
2005-04-06
2002-05-22
Mr. KDF
No

In my website, users can click from SquirrelMail to
other areas of the site, then click back into
SquirrelMail. Instead of forcing them to log in each
time they reenter SquirrelMail, this patch guides them
to webmail.php if they are already logged in, or
login.php if they need to log in.

Useful if you want your users to reuse their old
session if it is still viable and they are still logged in,
allowing them to enter their squirrel mail with just a
click.

Just change index.php to header(Location) to this file
instead of src/login.php, or use the included
index.php.patch. Also throw reentry.php into src/.

Enjoy!

Kenneth Frankel
kdf99

Discussion

  • Bradley Barnett

    Bradley Barnett - 2003-01-30

    Logged In: YES
    user_id=614909

    Where is the file? I also have the same situation and could
    really benefit from this. Please post or send to me via email.

    Thanks,
    Brad Barnett
    bwbarnet

     
  • Mr. KDF

    Mr. KDF - 2003-01-31

    Squirrelmail Reentry.php files

     
  • Mr. KDF

    Mr. KDF - 2003-01-31

    Logged In: YES
    user_id=60932

    Where did the file go? I will re-attach another copy, in a
    gzipped-tar file. Included also is a seslogin.php file which lets
    you pass a session id, and it looks up the user's login +
    password from a session table. This is from a separate
    system tho - make your own session system, or ignore this
    second file.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-04-06
    • priority: 5 --> 1
     

Log in to post a comment.