joelholtzman Posted April 20, 2012 Share Posted April 20, 2012 Hey, We purchased the "Phenomenon" wordpress theme that allows us to use a log in button on our wordpress site and log Portal clients into their control panel that is provided by WHMCS. It works - they get logged in. But the moment they click a link (I simulate this for them, before we go live) - it logs them out. The form we use on our site, which comes from the WP theme, points to this url to log them in: <form action="<?php bloginfo('url');?>/billing/dologin.php?goto=clientarea.php" method="post"> The entire log-in form code is: <form action="<?php bloginfo('url');?>/billing/dologin.php?goto=clientarea.php" method="post"> <label for="login-username">Username:</label> <input type="text" name="username" id="login-username" /> <label for="login-password">Password:</label> <input type="password" name="password" id="login-password" /> <div class="submit-block"> <span class="alignleft"> <input name="" type="checkbox" value="" class="checkbox" /> Remember me</span> <span class="alignright"> <input type="submit" name="submit" id="login-submit" value="Login" class="sml-btn" /> </span> </div> <a href="<?php bloginfo('url');?>/billing/pwreset.php" class="lostpass">Lost your password or username?</a> </form> So, what can be done to make sure that once they log in from our 'log in' form on our WP site - they *stay* logged in? Thanks. 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.