Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10946 > unrolled thread

multiple visitors at the same time

Started byrichard <noreply@example.com>
First post2013-09-30 18:12 -0400
Last post2013-10-04 19:19 -0400
Articles 18 — 12 participants

Back to article view | Back to comp.lang.php


Contents

  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

#10946 — multiple visitors at the same time

Fromrichard <noreply@example.com>
Date2013-09-30 18:12 -0400
Subjectmultiple visitors at the same time
Message-ID<39cy6hpu04oe$.18k40zgdny9go$.dlg@40tude.net>
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.

[toc] | [next] | [standalone]


#10948

FromMichael Vilain <vilain@NOspamcop.net>
Date2013-09-30 16:16 -0700
Message-ID<vilain-B44D7A.16162330092013@news.individual.net>
In reply to#10946
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)?

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]

[toc] | [prev] | [next] | [standalone]


#10949

Fromrichard <noreply@example.com>
Date2013-09-30 19:23 -0400
Message-ID<tabtkdru0f5g$.1x6bq88mzzryc$.dlg@40tude.net>
In reply to#10948
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.

[toc] | [prev] | [next] | [standalone]


#10952

FromMichael Vilain <vilain@NOspamcop.net>
Date2013-09-30 20:37 -0700
Message-ID<vilain-05AC83.20372230092013@news.individual.net>
In reply to#10949
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.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]

[toc] | [prev] | [next] | [standalone]


#10953

FromJerry Stuckle <jstucklex@attglobal.net>
Date2013-10-01 06:15 -0400
Message-ID<l2e7bk$760$1@dont-email.me>
In reply to#10952
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
==================

[toc] | [prev] | [next] | [standalone]


#10956

FromRichard Damon <Richard@Damon-Family.org>
Date2013-10-01 08:05 -0400
Message-ID<%Ty2u.16322$Tp1.3264@en-nntp-06.dc1.easynews.com>
In reply to#10952
On 9/30/13 11:37 PM, Michael Vilain wrote:
> 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.
> 

Session IDs with or without login MUST be unique, or your sessions are
broken (session logic MUST give a new id number to anything starting a
session, or you don't have real sessions). Multiple connections from the
same IP will be given different sessions.

Using a session ID without a login will mean that any work the user does
will be forgotten when the session expires.

What adding a login does is to allow you to put into the session a user
id from the login, so that the data from the user can persist from one
session to another.

[toc] | [prev] | [next] | [standalone]


#10960

FromChristoph Michael Becker <cmbecker69@arcor.de>
Date2013-10-01 18:02 +0200
Message-ID<524af217$0$6563$9b4e6d93@newsspool4.arcor-online.net>
In reply to#10956
Am 01.10.2013 14:05, schrieb Richard Damon:
> Session IDs with or without login MUST be unique, or your sessions are
> broken (session logic MUST give a new id number to anything starting a
> session, or you don't have real sessions). Multiple connections from the
> same IP will be given different sessions.
> 
> Using a session ID without a login will mean that any work the user does
> will be forgotten when the session expires.
> 
> What adding a login does is to allow you to put into the session a user
> id from the login, so that the data from the user can persist from one
> session to another.

You may consider reading up on sessions:
<http://www.php.net/manual/en/book.session.php>. :)

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#10961

FromJerry Stuckle <jstucklex@attglobal.net>
Date2013-10-01 12:09 -0400
Message-ID<l2es3j$9d$2@dont-email.me>
In reply to#10956
On 10/1/2013 8:05 AM, Richard Damon wrote:
> On 9/30/13 11:37 PM, Michael Vilain wrote:
>> 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.
>>
>
> Session IDs with or without login MUST be unique, or your sessions are
> broken (session logic MUST give a new id number to anything starting a
> session, or you don't have real sessions). Multiple connections from the
> same IP will be given different sessions.
>
> Using a session ID without a login will mean that any work the user does
> will be forgotten when the session expires.
>
> What adding a login does is to allow you to put into the session a user
> id from the login, so that the data from the user can persist from one
> session to another.
>

Just adding an id from the login to the session won't do a thing.  When 
the session expires, the data will be lost.

If you want the data to continue across sessions, you need to store it 
yourself, i.e. in a database.


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#10986

FromRichard Damon <Richard@Damon-Family.org>
Date2013-10-02 23:33 -0400
Message-ID<IA53u.89121$4q1.64240@en-nntp-12.dc1.easynews.com>
In reply to#10961
On 10/1/13 12:09 PM, Jerry Stuckle wrote:
> On 10/1/2013 8:05 AM, Richard Damon wrote:
>> On 9/30/13 11:37 PM, Michael Vilain wrote:
>>> 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.
>>>
>>
>> Session IDs with or without login MUST be unique, or your sessions are
>> broken (session logic MUST give a new id number to anything starting a
>> session, or you don't have real sessions). Multiple connections from the
>> same IP will be given different sessions.
>>
>> Using a session ID without a login will mean that any work the user does
>> will be forgotten when the session expires.
>>
>> What adding a login does is to allow you to put into the session a user
>> id from the login, so that the data from the user can persist from one
>> session to another.
>>
> 
> Just adding an id from the login to the session won't do a thing.  When
> the session expires, the data will be lost.
> 
> If you want the data to continue across sessions, you need to store it
> yourself, i.e. in a database.
> 
> 

Yes, I guess I assumed that someone would be smart enough to realize
that to store data for longer than a session would realize that they
needed to put the actual data somewhere besides the session itself.

[toc] | [prev] | [next] | [standalone]


#10988

FromScott Johnson <noonehome@chalupasworld.com>
Date2013-10-03 05:27 -0700
Message-ID<l2jns4$k5i$2@dont-email.me>
In reply to#10986
On 10/2/2013 8:33 PM, Richard Damon wrote:
> On 10/1/13 12:09 PM, Jerry Stuckle wrote:
>> On 10/1/2013 8:05 AM, Richard Damon wrote:
>>> On 9/30/13 11:37 PM, Michael Vilain wrote:
>>>> 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.
>>>>
>>>
>>> Session IDs with or without login MUST be unique, or your sessions are
>>> broken (session logic MUST give a new id number to anything starting a
>>> session, or you don't have real sessions). Multiple connections from the
>>> same IP will be given different sessions.
>>>
>>> Using a session ID without a login will mean that any work the user does
>>> will be forgotten when the session expires.
>>>
>>> What adding a login does is to allow you to put into the session a user
>>> id from the login, so that the data from the user can persist from one
>>> session to another.
>>>
>>
>> Just adding an id from the login to the session won't do a thing.  When
>> the session expires, the data will be lost.
>>
>> If you want the data to continue across sessions, you need to store it
>> yourself, i.e. in a database.
>>
>>
>
> Yes, I guess I assumed that someone would be smart enough to realize
> that to store data for longer than a session would realize that they
> needed to put the actual data somewhere besides the session itself.
>

If you are referring to Richard (Mr Oldies), we are still trying to get 
help him remember the difference between '=' and '=='.

But I am still optimistic with hope.

Scotty

[toc] | [prev] | [next] | [standalone]


#10991 — OT Re: multiple visitors at the same time

FromTwayne <nobody@spamcop.net>
Date2013-10-03 14:00 -0400
SubjectOT Re: multiple visitors at the same time
Message-ID<l2kbd2$6dg$1@speranza.aioe.org>
In reply to#10988
On 2013-10-03 8:27 AM, Scott Johnson wrote:
> On 10/2/2013 8:33 PM, Richard Damon wrote:
>> On 10/1/13 12:09 PM, Jerry Stuckle wrote:
>>> On 10/1/2013 8:05 AM, Richard Damon wrote:
>>>> On 9/30/13 11:37 PM, Michael Vilain wrote:
...

>
> If you are referring to Richard (Mr Oldies), we are still trying to get
> help him remember the difference between '=' and '=='.
>
> But I am still optimistic with hope.
>
> Scotty

Or how about '===' and '!==="? Funny how one of them doesn't work!

Twayne`

[toc] | [prev] | [next] | [standalone]


#10993 — Re: OT Re: multiple visitors at the same time

FromScott Johnson <noonehome@chalupasworld.com>
Date2013-10-03 16:13 -0700
SubjectRe: OT Re: multiple visitors at the same time
Message-ID<l2ktod$oh7$2@dont-email.me>
In reply to#10991
On 10/3/2013 11:00 AM, Twayne wrote:
> On 2013-10-03 8:27 AM, Scott Johnson wrote:
>> On 10/2/2013 8:33 PM, Richard Damon wrote:
>>> On 10/1/13 12:09 PM, Jerry Stuckle wrote:
>>>> On 10/1/2013 8:05 AM, Richard Damon wrote:
>>>>> On 9/30/13 11:37 PM, Michael Vilain wrote:
> ...
>
>>
>> If you are referring to Richard (Mr Oldies), we are still trying to get
>> help him remember the difference between '=' and '=='.
>>
>> But I am still optimistic with hope.
>>
>> Scotty
>
> Or how about '===' and '!==="? Funny how one of them doesn't work!
>
> Twayne`

Now you just want miracles. ;)

[toc] | [prev] | [next] | [standalone]


#10950

FromLew Pitcher <lew.pitcher@digitalfreehold.ca>
Date2013-09-30 20:13 -0400
Message-ID<nso2u.137$Bi.115@fx17.iad>
In reply to#10946
On Monday 30 September 2013 18:12, in comp.lang.php, "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?

At the beginning of the webpage, before /anything/ has been sent to the
client, have your PHP code execute a session_start() call. Note that this
*absolutely must* be the first thing done; if you send out even one blank
line, this does not work.

session_start() generates a cookie, records the cookie identifier on the
server side, and sends the cookie to the client in the HTTP headers.
Because the cookie has to go out in the headers, you cannot send any data
before it.

Now, in your page's body PHP, you can test certain values that PHP provides
that all relate to that cookie. The easiest way is to check the existance
and contents of the $_SESSION associative array.


$_SESSION will be null (as will any keyed $_SESSION value) on the client's
initial entry to the page. Thus, an isset() test within the body will be
able to determine if the client has retrieved the initial page, or has
retrieved a second or subsequent time.

As $_SESSION is an associative array, you can store values in it. Each time
the client returns and rereads the page, you get the values /for that
client/ as values of $_SESSION.

So, your logic might look something like

  if (isset($_SESSION['RowNum'])
  {
    /* RETURNING CLIENT
       $_SESSION['RowNum'] is last row shown to the client, so
       start his listing at database result row (1 + $_SESSION['RowNum'])
    */
    $StartRow = 1 + $_SESSION['RowNum'];
    /* generate next result set, from row $StartRow to $EndRow */
    $_SESSION['RowNum'] = $EndRow;
  }
  else
  {
    /* NEW CLIENT
       $_SESSION['RowNum'] is not set.
       start his listing at database result row 0
    */
    $StartRow = 0;
  }
  $EndRow = ComputeEndRow($StartRow);
  GeneratePartialResultSet($StartRow, $EndRow);

  /* save the session's start row for next time */
  $_SESSION['RowNum'] = $EndRow;

....


> Would the server crash with s few thousand visitors online at the same
> time?

It depends on how you've configured your server. If you have your http
server set up to handle a large number of connections, and enough temporary
space for a large number of session state records (saved as small files),
and have configured the database server for the large number of database
connections, you should have no problem servicing thousands of simultaneous
clients.

[snip].

-- 
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

[toc] | [prev] | [next] | [standalone]


#10951

FromFiver <numeralfive@gmail.com>
Date2013-10-01 05:30 +0200
Message-ID<l2dfjo$uil$1@dont-email.me>
In reply to#10946
On 2013-10-01 00:12, richard wrote:
> 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.

You didn't mention anything about sessions, so I'm going to assume that
all you're doing is creating a fresh random playlist for each new
request. If that's the case, then you don't have to worry about
concurrent visitors at all.

Why doesn't it work? Hard to say with the minimal information you're
giving us. The first thing that comes to mind is that one of the
browsers (most likely the one you don't usually test with) has a problem
playing what you send it. In other words, it's most likely a client side
problem or a playlist format problem. Check your browser settings and
plugins - in the "other" browser.

regards,
5er

[toc] | [prev] | [next] | [standalone]


#10955

FromNorman Peelman <npeelman@cfl.rr.com>
Date2013-10-01 07:04 -0400
Message-ID<l2ea8m$md6$1@dont-email.me>
In reply to#10946
On 09/30/2013 06:12 PM, richard 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.
>

   I'd say the Wimpy Player is living up to its name... I get no sound 
in *any* browser. Not FF, not GC and not Thunderbird.

-- 
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-

[toc] | [prev] | [next] | [standalone]


#10964

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-10-01 20:48 +0000
Message-ID<l2fcfa$618$1@dont-email.me>
In reply to#10946
On Mon, 30 Sep 2013 18:12:55 -0400, richard wrote:

> So I figure I will have to give each browser a unique id to the
> playlist.
> But how?

Why?

If you're creating a new random playlist every time someone accesses the 
page, what does it matter if they already accessed the page earlier?

> Would the server crash with s few thousand visitors online at the same
> time?

Now I'm laughing so hard I just pissed myself!

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#10995

FromKnocker <knock_yourself_out@example.net>
Date2013-10-04 01:02 +0000
Message-ID<slrnl4s4sc.2cac.knock_yourself_out@vps.jonz.net>
In reply to#10946
On Mon, 30 Sep 2013 18:12:55 -0400, richard wrote:
> I kind of realized i now have another problem to deal with.

JUST ONE!?!?    ROTFLMAO!!

[toc] | [prev] | [next] | [standalone]


#11285

FromTwayne <nobody@spamcop.net>
Date2013-10-04 19:19 -0400
Message-ID<l2nidt$kp7$1@speranza.aioe.org>
In reply to#10995
On 2013-10-03 9:02 PM, Knocker wrote:
> On Mon, 30 Sep 2013 18:12:55 -0400, richard wrote:
>> I kind of realized i now have another problem to deal with.
>
> JUST ONE!?!?    ROTFLMAO!!
>

I've always wondered, when people' rotflmao', whether they have their 
pants around their knees or what?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web