Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6473009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:24:51+00:00 2026-05-25T06:24:51+00:00

I am trying to integrate cpanel to my cms… I have this code to

  • 0

I am trying to integrate cpanel to my cms…
I have this code to remote logins:

<form action=’http://www.yourdomain.com:2082/login/’ method=’post’>
<table border=’1′ width=’250′ cellpadding=’2′ cellspacing=’0′>
<tr>
<td align=’right’>Username:</td>
<td><input type=’text’ name=’user’></td>
</tr>
<tr>
<td align=’right’>Password:</td>
<td><input type=’password’ name=’pass’></td>
</tr>
<tr>
<td colspan=’2′ align=’center’><input type=’reset’ name=’r1′ value=’Reset’><input type=’submit’ name=’s1′ value=’Login’></td>
</tr>
</table>
</form>

This form loads cpanel after successful login. I don’t want this form to loads cpanel after successful login. I want to load another page of my cms after successful login. So, I would like to check if login is successful or not. I tried to do it with jquery however jquery did not work on cross domain. Does anyone got any suggestion for this situation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:24:52+00:00Added an answer on May 25, 2026 at 6:24 am

    One way to accomplish this would be to use AJAX to submit the form. This way the user is logged in and the cookie is sent to the browser, but the page that is normally shown after successful login won’t be displayed.

    In your JavaScript you will need to search the xmlHttp.responseText for success and failure texts. For example, if a failed login will produce the text “Invalid username or password”, use that as a fail text to search for. If there is something similar that would indicate a successful login, search the text for that. If it is successful, use javascript to forward the browser to your own special logged in page. If not, send an error back to the user.

    Edit: I missed the part about it being cross-domain. You can use JSONP for that apparently.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to integrate Qt with OpenCV. Here is the example: http www
I'm trying to integrate a Flex app with Google Checkout and code that runs
I am trying to integrate NHibernate.Search into a multi-lingual website. Now, this website contains
I am trying to integrate OpenFeint 2.12.5 into my app. I already read this
I am trying to integrate some OpenCV functionality into my application. Currently I have
trying to integrate hibernate and spring ,I ran into this error SEVERE: Context initialization
I am trying to integrate forem with thumbs_up. I have inherited the forem Post
I am trying to integrate Facebook with my app. I read this on developers.facebook.com
I am trying to integrate some code written for Endeca 6 to a codebase
I am trying to integrate NCover 2 into TeamCity 5.0.1, and since I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.