I want to have a working demo of my app for anybody that comes to the site.
If they decide to stay I save their data, otherwise I delete it with a cron
job.
I understand the signature is supposed to prevent hijacking of the session.
I don't want the data to be compromised, even for a anonymous gues
import string
import random
mykey = ''.join(
random.choice(string.ascii_lowercase+string.digits)\
for x in range(32)
)
session.auth.hmac_key = mykey
Read up on hmac_key in the online book. Unfo
Ok, after reading up on user_signature, I don't really like to turn it off.
If I do turn it off, I'd like at least something that will allow the same
for anonymous users.
Is there anyway I can generate a user_signature for some anonymous user?
Thanks,
Tsvi
you must be logged in to get rid of the not authorized message, grid
and smartgrid verify session
> SOLVED: I forgot to have the define_table statement in the main part,
> otherwise the table is not defined.
> I still have trouble as I can'tedit the table. I get a flash response
> not authorized.
>
> I still have trouble as I can'tedit the table. I get a flash response not
> authorized.
> I suppose I need to change some setting when calling the smartgrid method.
>
By default, I think user_signature=True, which requires login. Either log
in, or set that to False.
Anthony
SOLVED: I forgot to have the define_table statement in the main part,
otherwise the table is not defined.
I still have trouble as I can'tedit the table. I get a flash response not
authorized.
I suppose I need to change some setting when calling the smartgrid method.
6 matches
Mail list logo