Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #10953
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: multiple visitors at the same time |
| Date | 2013-10-01 06:15 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <l2e7bk$760$1@dont-email.me> (permalink) |
| References | <39cy6hpu04oe$.18k40zgdny9go$.dlg@40tude.net> <vilain-B44D7A.16162330092013@news.individual.net> <tabtkdru0f5g$.1x6bq88mzzryc$.dlg@40tude.net> <vilain-05AC83.20372230092013@news.individual.net> |
On 9/30/2013 11:37 PM, Michael Vilain wrote: > In article <tabtkdru0f5g$.1x6bq88mzzryc$.dlg@40tude.net>, > richard <noreply@example.com> wrote: > >> On Mon, 30 Sep 2013 16:16:23 -0700, Michael Vilain wrote: >> >>> In article <39cy6hpu04oe$.18k40zgdny9go$.dlg@40tude.net>, >>> richard <noreply@example.com> wrote: >>> >>>> I kind of realized i now have another problem to deal with. >>>> As I have it set up, when a visitor enters, that creates a playlist for >>>> that visitor. >>>> What happens when another visitor is online? >>>> I tried it with both IE and FF at the same time. >>>> While the list is dffierent, there is no audio in the second browser. >>>> >>>> So I figure I will have to give each browser a unique id to the playlist. >>>> But how? >>>> Would the server crash with s few thousand visitors online at the same >>>> time? >>>> >>>> The wimpy player can embed the playlist into the html, but their way of >>>> doing it doesn't allowo me to display the file names unless the gilename >>>> match exactly. >>>> that is, I could not show "exodus - henry mancini". I'd have to show >>>> 65-001mp3 because that's how I have the naming convention set up. >>> >>> Look into session ID. When someone comes to your site, they have to >>> login, yes? Tie the session ID created by php to the username. Use >>> that to create a unique MD5 hash for a playlist you store under their >>> username in MySQL. >>> >>> You do realize that all this will require sychronizing things and MySQL >>> (or some other DB that deals with record locking)? >> >> At this time, I am not looking at visitors needing to sign up and login. >> I will look into session id and see if that will help. > > Most session IDs without a login aren't sufficiently unique. You'll > need to have additional criteria to ensure that to machines with the > same browser and hardware connecting to your server from the same IP > address are able to be differentiated between the two. That's up to > you. You sound like you need to do a lot of reading up on this before > you come up with a viable solution. Publically available stuff without > first authenticating the user will only get you so far. > Incorrect. Sessions don't know anything about logins; it's just data to them. And the session ID needs to be unique for each visitor, whether or not they are logged in. Can you imagine, for instance, a shopping cart where multiple people share the same session id - and therefore cart? Many sites don't require any information until it's time to check out. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
multiple visitors at the same time richard <noreply@example.com> - 2013-09-30 18:12 -0400
Re: multiple visitors at the same time Michael Vilain <vilain@NOspamcop.net> - 2013-09-30 16:16 -0700
Re: multiple visitors at the same time richard <noreply@example.com> - 2013-09-30 19:23 -0400
Re: multiple visitors at the same time Michael Vilain <vilain@NOspamcop.net> - 2013-09-30 20:37 -0700
Re: multiple visitors at the same time Jerry Stuckle <jstucklex@attglobal.net> - 2013-10-01 06:15 -0400
Re: multiple visitors at the same time Richard Damon <Richard@Damon-Family.org> - 2013-10-01 08:05 -0400
Re: multiple visitors at the same time Christoph Michael Becker <cmbecker69@arcor.de> - 2013-10-01 18:02 +0200
Re: multiple visitors at the same time Jerry Stuckle <jstucklex@attglobal.net> - 2013-10-01 12:09 -0400
Re: multiple visitors at the same time Richard Damon <Richard@Damon-Family.org> - 2013-10-02 23:33 -0400
Re: multiple visitors at the same time Scott Johnson <noonehome@chalupasworld.com> - 2013-10-03 05:27 -0700
OT Re: multiple visitors at the same time Twayne <nobody@spamcop.net> - 2013-10-03 14:00 -0400
Re: OT Re: multiple visitors at the same time Scott Johnson <noonehome@chalupasworld.com> - 2013-10-03 16:13 -0700
Re: multiple visitors at the same time Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2013-09-30 20:13 -0400
Re: multiple visitors at the same time Fiver <numeralfive@gmail.com> - 2013-10-01 05:30 +0200
Re: multiple visitors at the same time Norman Peelman <npeelman@cfl.rr.com> - 2013-10-01 07:04 -0400
Re: multiple visitors at the same time Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-01 20:48 +0000
Re: multiple visitors at the same time Knocker <knock_yourself_out@example.net> - 2013-10-04 01:02 +0000
Re: multiple visitors at the same time Twayne <nobody@spamcop.net> - 2013-10-04 19:19 -0400
csiph-web