Hello,
> My typical user will be accessing my service from
multiple machines.
> I'm using cherrypy file storage sessions. My
understanding is that
> sessions are associated with browser cokies. If auser
logs in from two
> different machines, he will have two different cookies
and consequently
> two different sessions. Is there a way to have the the
two different
> machines/cookies share the same session?
>
> I have serveral cherrypy servers and I would like for
each user to have
> atmost one session, even if he accesses the service
from differnt
> machines.
It seems like what you want is "user data" as
opposed to "session data",
which is associated to "one session" (ie: a user
coming to the site,
doing some work for a certain period of time and then
leaving).
You'll have to implement user data yourself. You can do
this using
sessions, but you could also just use a table in a database
and
store/retrieve the user data when he logs in/out.
Note that sessions normally expire afte a while whereas for
user data
you probably don't want that data to expire.
Regards,
Remi.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|