[TurboGears] Re: How can I know each computer from another with CP and TG?

2006-10-09 Thread alanin

If all the puters got static and of course different IPs u could
identify em by the IPs.
Otherwise u could use the user management which is bulit in and maker
users - and then u give chance to users to select from several
locations...

al

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: How can I know each computer from another with CP and TG?

2006-10-09 Thread Tim Lesher

On 10/9/06, alanin [EMAIL PROTECTED] wrote:
 Otherwise u could use the user management which is bulit in

... which uses cookies.
-- 
Tim Lesher [EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: How can I know each computer from another with CP and TG?

2006-10-09 Thread Jorge Vargas

On 10/9/06, Tim Lesher [EMAIL PROTECTED] wrote:

 On 10/9/06, alanin [EMAIL PROTECTED] wrote:
  Otherwise u could use the user management which is bulit in

 ... which uses cookies.
yes indeed

I guess I have no option but the cookie.

because IP and MAC are out of the question.

I'll read up on CP + cookie, I may end up changing the Visit class to
store the value there


 --
 Tim Lesher [EMAIL PROTECTED]

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: How can I know each computer from another with CP and TG?

2006-10-08 Thread Adam Jones

If one of the project's preconditions is disallowing cookies the only
other options I can think of are getting the MAC address, having your
location as an option when signing in, or moving the location to tabs
inside the program.

The MAC address solution would be ... interesting. It might be doable
with a cherrypy filter right when the request is received. The problem
is that a lot of networks use proxy servers or NAT routers. In either
of those cases different systems on the network would be
indistinguishable from each other.

My suggestion would be to just use a cookie, at the least just to store
previous computer/location selections.

-Adam


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---



[TurboGears] Re: How can I know each computer from another with CP and TG?

2006-10-08 Thread Bob Ippolito

MAC addresses don't leave the LAN.

You have two exactly three options:
1. Stick all of the state in the URL (or a session ID).
2. Keep all of your state (or a session id) in forms and make sure
that every link is a form submit (using GET instead of POST would be
an ugly variant of 1).
3. Stick state or a session id in a cookie.

Pick one. There aren't any other options.

-bob

On 10/8/06, Adam Jones [EMAIL PROTECTED] wrote:

 If one of the project's preconditions is disallowing cookies the only
 other options I can think of are getting the MAC address, having your
 location as an option when signing in, or moving the location to tabs
 inside the program.

 The MAC address solution would be ... interesting. It might be doable
 with a cherrypy filter right when the request is received. The problem
 is that a lot of networks use proxy servers or NAT routers. In either
 of those cases different systems on the network would be
 indistinguishable from each other.

 My suggestion would be to just use a cookie, at the least just to store
 previous computer/location selections.

 -Adam


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~--~~~~--~~--~--~---