Hey there,
I am looking into using the server for a project that involves 32 users in a theater type environment. My problem is that each user needs a unique ID that can be used to pinpoint which station they are at. I suppose I could hard code this ID somewhere, but I would rather it be dynamic so that if I have to update the program or something, it would not be an issue. I assumed that I could just use the IP address of the user, but it seems that I need the PRO version of the server to do this. Is there any other unique identifier that I could get from the computer or return from the server? Make sense?
- Bruce
Obtain IP address without PRO Server
Lapo,
I would need an identifier that will remain the same every time a user connects. For instance, if there is a computer at Station #1, then every time that station connects to the server, it needs some sort of ID that will identify which station it is. There will be a presenter at the front, and they should be able to say something to the effect of "Station #1 go the question correct!" If each user is given a different ID when connected, that is fine, but I need some piece of information that can identify the specific computer that is connecting. An IP address would be logical, but any other static piece of info that I could extract from the comp would work.
- Bruce
I would need an identifier that will remain the same every time a user connects. For instance, if there is a computer at Station #1, then every time that station connects to the server, it needs some sort of ID that will identify which station it is. There will be a presenter at the front, and they should be able to say something to the effect of "Station #1 go the question correct!" If each user is given a different ID when connected, that is fine, but I need some piece of information that can identify the specific computer that is connecting. An IP address would be logical, but any other static piece of info that I could extract from the comp would work.
- Bruce
Re: Obtain IP address without PRO Server
Using IP as ID is bad idea. IP addresses are not unique.
For example if two computers are behind proxy from SFS point of view they are with the same IP.
SFS generates unique ID for every user - why you don't use it?
For example if two computers are behind proxy from SFS point of view they are with the same IP.
SFS generates unique ID for every user - why you don't use it?
IP Address as ID Continued
Hey folks, I was away for a while, but am now back to work on this project. I think I need to do a better job explaining what I want to do.
Patso - If I create a unique ID every time the user connects then I will have no way of telling which computer in the room is connected with that user ID. I am not deploying this over the web, but in a closed system where every system is assigned a static IP address. Let's say it is 192.168.0.1 - .32. Every time that the user with 192.168.0.23 connects, they need to identify themselves as the same user. There is a host in front of the theater that will need to refer to who might have the highest score at a certain time, or that a particular user was the fastest to answer a question. I will explore the cookie route, but I am not that skilled a web programmer. At any rate, if anyone has any other thoughts, or doesn't understand my problem, let me know...
- Bruce
Patso - If I create a unique ID every time the user connects then I will have no way of telling which computer in the room is connected with that user ID. I am not deploying this over the web, but in a closed system where every system is assigned a static IP address. Let's say it is 192.168.0.1 - .32. Every time that the user with 192.168.0.23 connects, they need to identify themselves as the same user. There is a host in front of the theater that will need to refer to who might have the highest score at a certain time, or that a particular user was the fastest to answer a question. I will explore the cookie route, but I am not that skilled a web programmer. At any rate, if anyone has any other thoughts, or doesn't understand my problem, let me know...
- Bruce
Re: IP Address as ID Continued
This is something different. I'm afraid that you cannot get the IP without PRO version - only PRO version supports extensions so you cannot execute code server side from Basic version.Leroy743 wrote:Patso - If I create a unique ID every time the user connects then I will have no way of telling which computer in the room is connected with that user ID. I am not deploying this over the web, but in a closed system where every system is assigned a static IP address. Let's say it is 192.168.0.1 - .32.
You can use PHP or other script to get the IP of the user.
The bad think about cookies are that they are stored in the cache and this cache may be cleared - even without the knowledge of the user - for example when the cache is full.
And for final one idea - can't just give the users unique keys (AjasuyjhSh23AA for example). It's not great way for .... (I forgot the word in English - it's to identify yourself ) but the IP is not great way too - it guarantees that the pc is the same not that the user is the same. If it's a closed system may be you can have a little bit more trust on the users. Also it's possible every pc to have own client with hard coded key in it (or IP address).
If you know javascipt and html a little bit you can use this http://javascript.internet.com/user-details/ip.html to pass the client IP to the flash.
Hope this help you