kanjigirl Posted September 7, 2007 Share Posted September 7, 2007 I'm using the bit of integration code from WHMCS to run the login box on my home page: <form method="post" action="http://nocohosting.com/whmcs/dologin.php?goto=clientarea"> <p class="login">Email Address:</p> <input type="text" name="username" size="23" maxlength="40"> <p class="login">Password:</p> <input type="password" name="password" size="23" maxlength="23"> <input type="submit" value="Login" class="button-login"> </form> However when a client logs in here, they're taken to the other login page in the client area. How do I take them into the client area without forcing them to login twice? 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted September 7, 2007 Share Posted September 7, 2007 we have been using pretty much the same with no problem, it takes users straight to their clientare as logged in. 0 Quote Link to comment Share on other sites More sharing options...
Boss Posted September 8, 2007 Share Posted September 8, 2007 I'm using the bit of integration code from WHMCS to run the login box on my home page: <form method="post" action="http://nocohosting.com/whmcs/dologin.php?goto=clientarea"> <p class="login">Email Address:</p> <input type="text" name="username" size="23" maxlength="40"> <p class="login">Password:</p> <input type="password" name="password" size="23" maxlength="23"> <input type="submit" value="Login" class="button-login"> </form> However when a client logs in here, they're taken to the other login page in the client area. How do I take them into the client area without forcing them to login twice? I have also just had a similar issue and fixed it, but to keep it simple what is your https url? 0 Quote Link to comment Share on other sites More sharing options...
kanjigirl Posted September 8, 2007 Author Share Posted September 8, 2007 dologin.php?goto=clientarea is the full login action on the second page (the internal login page) and the https URL of this page is 74.52.179.82/~nocohost/whmcs/ - does that help? I tried changing http to https on the home page login, that didn't work, just gave me a 404 error. 0 Quote Link to comment Share on other sites More sharing options...
Boss Posted September 8, 2007 Share Posted September 8, 2007 dologin.php?goto=clientarea is the full login action on the second page (the internal login page) and the https URL of this page is 74.52.179.82/~nocohost/whmcs/ - does that help? I tried changing http to https on the home page login, that didn't work, just gave me a 404 error. I'm sorry but I don't really understand what you mean with your last post but try this. The Form tag and URL must be the same as your standard entry to WHMCS. For example: <form method="post" action="http://secure.mydomain.com.au/accounting/dologin.php?goto=clientarea" target="_blank"> My normal url would be http://www.mydomain.com.au and my secure url is https://secure.mydomain.com.au But this program does not handle url changes like most others, so the url has to remain the same. So in my case all references to my WHMCS must remain in the format of secure.mydomain.com.au and only changing http to https for the secure pages. From what I'm understanding of your post your changing your url to an ip address. This will not work unless that is you base (home) url in the first place. Hope this makes sense and helps 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.