-1

I am using php and mysql to grab and display details depending on the user request. The problem that I am having is while the results are loading none of the other files are accessible to anyone. For an example when someone is using results.php none of the other users are able to access listall.php until the results.php is loaded completely.

Can someone please tell me how to make possible that any user can access any part of the site.

4
  • 3
    Sounds hard to believe: There should not be per-file locking for PHP scripts served through a web server. Can you tell some more details about your setup? Maybe there is something inside the script causing a lock? Commented Aug 20, 2010 at 10:14
  • Agreeing with Pekka, upload your .htaccess file also Commented Aug 20, 2010 at 10:17
  • im running through my localhost using WAMP. Commented Aug 20, 2010 at 10:19
  • paste some code because this is hard to believe Commented Aug 20, 2010 at 10:50

1 Answer 1

2

My best guess is that you're using shared sessions, or a broken custom session handler, and the second request is blocking waiting for the first request to session_commit().

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.