- see footer for list info -<
Session tracker, I've used that once, but is quite more complicated than just have all your stuff in application, but can solve the server side.

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


>- see footer for list info -<
Not unless your storing HUGE amounts of data in the sessions.
The only way to have global access to other users sessions is by storing
them in a global scope. You don't need to store everything, only the data
that needs to be shared between users.
It is actually possible to access all session data for every session for
every application on the server using this method.

http://russ.michaels.me.uk/index.cfm/2005/11/25/JRUN-Creeping-Death

Russ


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

- 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 -<


_______________________________________________

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