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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:22:51+00:00 2026-06-05T16:22:51+00:00

I have developed a small administration page for game servers which you can add/remove/edit

  • 0

I have developed a small administration page for game servers which you can add/remove/edit settings online.

Everything works fine, but I have problem with sessions. If the log in is successful the session ID is created

$_SESSION['adm_login'] = "okay";

If I visit another page, the same platform (on the same web server) the session is automatically created. This happens only if I log in successful to my web page.

I think this problem happens because everything is on the same web server, because the session ID’s are same.

What should I do? Am I need to create a table in data base where I store session ID’s or… ?

Can anyone give me an example, or a tutorial for sessions php.

Thank you !

  • 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-06-05T16:22:54+00:00Added an answer on June 5, 2026 at 4:22 pm

    Use settings such as session.cookie_path or session.cookie_domain so that the session cookie is only valid for the path or domain you want it to be.

    For instance, if you have one folder for each “project”, you would set session.cookie_path to the current project folder. This will ensure the browser only sends the session cookie for that project, and not for other ones. A new session will be generated for each project the user visits.

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

Sidebar

Related Questions

I have developed a small component which can be put in to any website.
I have developed a small C# form application which calls a web service. Everything
I have a fairly large MVC3 application, of which I have developed a small
I have a developed a small web-app in Symfony 2 and Doctrine 2. Can
I have developed a small WCF service which handles HTTP request. I want to
I have developed a small survey application with codeigniter. Which works fine on my
I have developed a small bit of presentation software which consists of slides and
I have successfully developed a small iPhone+Monotouch (latest version) application with Monodevelop 2.8, which
I have developed a small application and now i want to protect it. I
i have developed a small application and was working fine on developing machine but

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.