Author |
|
kamolphet Newbie
Joined: 10 April 2009 Location: Thailand
Online Status: Offline Posts: 1
|
Posted: 10 April 2009 at 1:34am | IP Logged
|
|
|
Is is normal that there's a log in page show up for a few sec when bypassing user and password via integration object. It's work well actually but this part strange for me.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 10 April 2009 at 3:03am | IP Logged
|
|
|
It's possible to modify integr.php or integr.aspx script so that mail check is not performed on login, user will have to hit "Check Mail" once redirected to message list almost immediately after logging in.
In case if that's what you need, modify the appropriate script for your version of WebMail Pro. If you use .NET version, comment out or remove the following line of integr.aspx file (you'll need to recompile the application to apply changes):
If you use PHP version, set check value to 0 in ChangeLocation function located in integr.php file (it's used twice for both AJAX and classic HTML versions) so that the function looks like this:
Code:
function ChangeLocation($settings, $getTemp)
{
if ($settings->AllowAjax)
{
header('Location: '.$this->_webmailroot.'webmail.php?check=0'.$getTemp);
}
else
{
header('Location: '.$this->_webmailroot.'basewebmail.php?check=0'.$getTemp) ;
}
} |
|
|
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|