Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Custom login page redirect to default pag Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
fiberghost
Newbie
Newbie
Avatar

Joined: 21 December 2015
Location: Ireland
Online Status: Offline
Posts: 1
Posted: 21 December 2015 at 3:38am | IP Logged Quote fiberghost

Hi,

I am using the latest version of afterlgoic webmail lite and it works amazingly, I can login, check emails and logout normally. However I want to use a custom login page to login into the webmail interface bypassing the default login page. I followed the example mentioned on this link: http://www.afterlogic.com/wiki/Logging_in_programmatically_(WebMail_Pro) but it didn't work, each time I login on the custom page, I get redirected to the default page again .. Can you help me with this ? if you need any logs or information let me know ..

Thanks ..
Back to Top View fiberghost's Profile Search for other posts by fiberghost
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 21 December 2015 at 3:49am | IP Logged Quote Igor

First of all, make sure that your application you use the integration from, and WebMail itself, run within the same domain. In the integration code, recheck that correct $sEmail and $sPassword values are sent over.

Also, you need to verify that this line of code points to the correct starting URL of the installation:

Code:
CApi::Location('../');


You can supply full installation URL or the relative one, it works with either way.

There is one more option for sending login details from custom login page - that can be done via POST or GET:

Sending login credentials via POST

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide