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

  • Home
  • SEARCH
  • 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 6361827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:49:39+00:00 2026-05-24T23:49:39+00:00

I have just started using jQuery mobile and have spent time reading the docs.

  • 0

I have just started using jQuery mobile and have spent time reading the docs. However, I am having a problem after a user logs in. After a successfull login, the user is taken to his/her page which there is a simple listview. If a user clicks on any item, then they are taken back to the login page. The page seems to be loading ok and I am sure that my markup is correct because in the chrome address bar, the address that i click shows as:

http://localhost/sample/app/test.php#ctlpnl,

which is the correct address for that link. Can someone show me my error. Thanks

LOGIN HTML

<div data-role="page" id="login" data-title="Test Login" data-theme="b">
    <div data-role="header">
      <h1>Sample Login</h1>
    </div>

    <div data-role="content">

    <form method="post" id="login" rel="external" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">

    <div data-role="fieldcontain">
     <label for="kt_login_user">Email *</label>
     <input type="text" name="kt_login_user" id="kt_login_user" value="<?php echo KT_escapeAttribute($row_rscustom['kt_login_user']); ?>" size="66" placeholder="janedoe@example.com" />

    <div id="userError">
     <?php echo $tNGs->displayFieldHint("kt_login_user");?>
     <?php echo $tNGs->displayFieldError("custom", "kt_login_user"); ?>
    </div>
  </div>

   <div data-role="fieldcontain">
     <label for="kt_login_password">Password *</label>
     <label for="kt_login_rememberme"></label>
     <input type="password" name="kt_login_password" id="kt_login_password" value="" size="46" placeholder="******" />

    <div id="passError">
     <?php echo $tNGs->displayFieldHint("kt_login_password");?>
     <?php echo $tNGs->displayFieldError("custom", "kt_login_password"); ?>
     <?php echo $tNGs->displayFieldError("custom", "kt_login_rememberme"); ?>
    </div>

   </div>

   <div id="login_message"></div>

   <div id="submitDiv" data-role="fieldcontain">
    <input name="kt_login1" id="kt_login1" type="submit" value="Login" data-inline="true" />
   </div>

   </form>

  </div>

    <div data-role="footer"">
      <h4>test 2009-2011</h4>
    </div>
</div>

USERS INDEX.PHP

<div data-role="page" id="page">
    <div data-role="header">
      <h1>Users Page One</h1>
    </div>
    <div data-role="content">
        <ul data-role="listview">
         <li><a href="#requests">Requests</a></li>
         <li><a href="#ctlpnl">Control Panel</a></li>
         <li><a href="#userhelp">Help</a></li>
         <li><a href="users/logout.php" rel="external">Logout</a></li>
        </ul>
    </div>
    <div data-role="footer">
      <h4>Users Start Page</h4>
    </div>
</div>

<div data-role="page" id="ctlpnl" data-theme="b">
    <div data-role="header">
      <h1>Control Panel</h1>
    </div>
    <div data-role="content">
      <?php echo $_SESSION['kt_name_usr']; ?> Control Panel
    </div>
    <div data-role="footer">
      <h4>Control Panel Footer</h4>
    </div>
</div>
  • 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-24T23:49:39+00:00Added an answer on May 24, 2026 at 11:49 pm

    You have probably forgotten to start session (BEFORE any output, add this code)

    session_start();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started looking into jquerymobile, done simple samples using jquery.mobile-1.0a1 . I
I have just started using jQuery and although following code gets the job done,
I have just started using jQuery in the past couple of weeks and am
I have been using jquery ui with no problem but just recently the jquery
I just started using the jquery swfupload plugin and I have everything working besides
I have just started considering using the HTML 5 api for a Rails/JQuery project,
I have just started to use the jquery mobile library and have hit a
I've just started learning javascript and have created a drag and drop using jquery
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I

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.