- see footer for list info -<
I know that, and I'm definitely referring to session variables. I don't like the idea of having to much session variables on the application scope, as I'll have to threat them as a distinct session for each client, and I'll probably have more then 50 games (that means 100 users) simultaneously at the same time. Don't you think it can f*ck up my server?

Cheers
----- Original Message ----- From: "Snake" <[EMAIL PROTECTED]>
To: "'Coldfusion Development'" <[email protected]>
Sent: Friday, May 12, 2006 12:51 PM
Subject: RE: [CF-Dev] Users sharing the same session


>- see footer for list info -<
Are u referring to session variables?

In which case you could just store each users session data in application
scope instead.

E.g.

Application.sessionID.variable = value

Russ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcos Placona
Sent: 12 May 2006 12:40
To: Coldfusion Development
Subject: [CF-Dev] Users sharing the same session

- see footer for list info -<
Hey guys

I'm developing a kind of a game and was wondering how can I do to share
sessions between the users.

Imagine the following scenario:

Two users connected:
I have some screen information regarding the both of them, but each on has
it's distinct information.
I use Ajax to get all the information I need as well as to store all this
into my *supper hero* session.
I have to show all the opponent screen information "on the fly". I could use database for this, actually I'm using database indeed, but that means that I have to go to the database every x milliseconds and select the data I need.
I think a session could deal with this better, eve if I need to request my
session values every x milliseconds, but it's just on session and not on
database.

My problem is:

How can I access the opponent's session? I mean, he's gonna have access to
my session and I'm gonna have access to his session.

Any ideas? Or any better ideas on how to build this little baby?

Cheers

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to