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 7641649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:58:41+00:00 2026-05-31T08:58:41+00:00

When I validate my login page before logging in with credentials, the page is

  • 0

When I validate my login page before logging in with credentials, the page is validates perfectly. But when I validate after starting php sessions, it gives error – error being conflict between inline and block level element. Session seems to have inserted hidden input element after form tag like shown below:

<form method="post" action ="log.php">
<input type="hidden" name="PHPSESSID" value="l96qs5ksgpkbpkr4sblilhqku6" />

How can I avoid this? Can we control where this hidden input element is inserted?

  • 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-31T08:58:42+00:00Added an answer on May 31, 2026 at 8:58 am

    Try this in .htaccess:

    php_value session.use_cookies 1
    php_value session.use_only_cookies 1
    php_value session.use_trans_sid 0
    

    or in PHP:

    ini_set('session.use_trans_sid', false);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP login page with the following structure: <?php // validate login
Scenario: I have a login page which uses ajax to validate a user and
I'm trying to make a login page in Struts. The idea is to validate
I am trying to programatically validate a user login/pass using Spring Security, so I
I've built a login page that uses a .ajax call to a generic c#
For the login page of my website I would like to list the latest
In a code i have seen this creation of token for a login page:
I'm attempting to build a login page for my website. I have managed to
The login page on a project i'm currently fixing up shows blank. i tried
I'm building a login form that will validate the login against a database, then

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.