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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:13:03+00:00 2026-06-02T05:13:03+00:00

I built a few pages in hard coded PHP, on my environment everything is

  • 0

I built a few pages in hard coded PHP, on my environment everything is working properly,
but when i am deploying this pages to the production servers there is few problems
when the user is getting to one of my page sometimes he will be redirected to the home page,
and sometimes he will redirected to my page without any problem.

This is happening when the user do not have the session with the appropriate values.
there are two servers with load balancing between them, i deployed to both of them but still
this issue remains.

Thx in advance.

  • 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-02T05:13:04+00:00Added an answer on June 2, 2026 at 5:13 am

    While you have multiple server for load balancing, you need to save session in database rather than saving physically.

    http://www.tonymarston.net/php-mysql/session-handler.html

    Above link will guide you how you can save session in DB.

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

Sidebar

Related Questions

I have an HTML table containing a few rows (this is built dynamically). All
There are a few questions that approach an answer to this question, but none
I have built a few themes and noticed that the 404 pages, once uploaded
i have a small problem regarding jquery/php. in the last few days i built
I have an asp.net application in which I have built few silverlight based pages.
I'm working on a custom CMS that another developer built a few years ago.
A few days back, while the built-in server (Tomcat v5.5) in eclipse was running,
I have done a few months of development with Qt (built GUI programmatically only)
I have a few pages with an heavy javascript usage (e.g. sorting and filtering
I have built a few custom applications that run on WSS 3 using the

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.