I've been working with UserKit this week and I have a few questions 
maybe one of you could help me with.

1)  What is the externalId that can be used to reference clients?


2)  How can I keep the the user object in memory between pages?

My plan is to optionally authenticate users, and display different 
content depending on the user.  User creation works fine, but I'm having 
trouble tracking logins throughout a session.

Right now, I have a page named UserTest.  With the following code I can 
log them in without problem.

mgr = UserManagerToFile()
mgr.login(user, password)

I'm guessing I need to place the code in a superclass like a 
UKSecurePage, but I'm not sure.  The SecurePage class in the examples 
context might help me out, but does anyone have any other suggestions?

3)  How would *you* handle preferences?

I've simply creating a parameter in each user like user._prefs = 
{ dictionary }, and then accessing _prefs by key.  Although this seems 
to work, is there any official way to store extra info about users using 
UserKit?  I couldn't find anything about it in the class desc. or 
documentation.

I was also wondering why so many of the variables are named like _name 
or _password? I've seen this sort of naming convention a lot in python, 
but I'm unsure of what cases this is used in.

Thanks.


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to