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.
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.