Yeah, that's what mailto does.  Passes it to login.php if you aren't
logged in.  Otherwise it passes to compose.

As for the logins, that's why I had it set that way originally.  I wasn't
detecting the login because someone might have left a browser open and
walked away.  Also, if SquirrelMail ever stops using cookies, I don't know
if we'll be able to detect it.

Seth.
SM-Development said:
> Hi Seth,
>
>
> The code works!
>
>
> However, the URL on the browser is re-written with the long line link from
> mailto. I guess that's because the "header('Location: ' . $redirect);"
> that replaces the content of the URL in the browser.
>
>
> On the other note, can I get user to login to only one instance of the
> browser? I mean, if User-A is on IE, visited Squirrelmail, open another IE
> window, type in the login URL, but will still get directed to User-A login
> session.
>
>
> If not mistaken that was the dual-logins issues that bug many users
> previously. Am I right?
>
>
> Thanks.
>
>
> Seth Randall writes:
>
>> Try this one.
>>
>
>
>
>
> ****************************************************************************
> CAUTION: This e-mail is confidential and may contain privileged
> information.
> If you are not the intended recipient,  you must not  disclose  or  use
> the
> information.  If you have received this e-mail in error,  please  notify
> by
> returning the e-mail and delete the document.  Any views expressed  in
> this
> message are those of the individual sender,  and may not necessarily
> reflect
> the views of the Company.
> ****************************************************************************
>
>


-- 
Seth Randall
IT Support Specialist
Missoula Federal Credit Union
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to