Re: Error on session expiration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 21, 2008 at 7:36 AM, Mario Filipe <mjnf@xxxxxxxxx> wrote:
> Hello,
>
> I work for a medium portuguese university and we are using SM from debian
> testing (1.4.15).
>
> Some of our users have been complaining that whenever they let their session
> expire and then they try to do something, SM shows a page saying that an
> error has ocurred and that they have o login. Is there a way to just jump to
> the login page instead of going through this error message.

You can write a plugin that hooks into the logout_error hook that does
a header redirect to the login page.  You'd probably also want to pass
some error information in the page address and then retrieve it during
something like the login_top hook and display it to the user to save
much confusion.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux