Jump to content

Keeping Client Logged In - Issue With 3rd Party Log-in Form


joelholtzman

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated