simple multiuser considerations



Hi everyone,
Managing sessions and cookies looks simple if you go by the varied
tutorials on the web. But I have a few questions about real multiuser
issues which i could not get any tutorials on:

1)say, I have a page doesalot.php on http://www.mysite.com/ which will
be accessed by say 50 users at a time. Then, my session id checking
script must run 50 instances, one for each user and the appropriate
database table must, at the end of that time, get 50 rows, one for each
session (of course, i've written the db insert code into the page right
at the top). Does this happen by default or do I have to set something
in php.ini or anywhere else or worse, take care of it in the script by
checking for IP via $_SERVER['REMOTE_ADDR'] etc.

2) If it is just 5-10 users per second maybe it will not be a problem,
but a worst-case load of say 50-100 requests per second will definitely
be an issue (assuming my host has given me enough bandwidth). Is there
some setting for such tuning?

It'll be great if someone could point me to a site or tutorial that
deals with these issues.

Thanks in advance,
Regards,
Joseph S.

.



Relevant Pages

  • Re: simple multiuser considerations
    ... > Managing sessions and cookies looks simple if you go by the varied ... > issues which i could not get any tutorials on: ... Then, my session id checking ... > in php.ini or anywhere else or worse, take care of it in the script by ...
    (comp.lang.php)
  • Re: How to get all web controls from a page?
    ... > tedious session creation and retrieval task. ... > Karl Seguin wrote: ... >> MY ASP.Net tutorials ... Sounds like that is a much better way than session to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to get all web controls from a page?
    ... tedious session creation and retrieval task. ... Sounds like that is a much better way than session to ... >> Karl Seguin wrote: ... >>> MY ASP.Net tutorials ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: stupid IE7 question
    ... closer look on session handling. ... Obscure methods like hiding an URI always ... rewrites itself to another script of yours with the session key as the ... I am currently testing a proprietary secure web based ...
    (Pen-Test)
  • Re: (Sloppy correction) Re: session management with database: optimal parameters in php.ini
    ... looking then another script read N! ... make it so simple that there are obviously no deficiencies, ... but I never used their db session management ... I avoid MySQL since I consider it an inferior db. ...
    (alt.php)