Re: [web2py] Re: intercept closing session

2014-01-09 Thread Giuseppe D'Amico
I have to create the database, using the same model for every user it is not safe, so I use the session_id as name file for the model, I need to intercept when a user's session ends, to delete its model 2014/1/8 Anthony > On Wednesday, January 8, 2014 1:48:28 AM UTC-5, Giuseppe D

Re: [web2py] Re: intercept closing session

2014-01-07 Thread Giuseppe D'Amico
how do you think a thing like that should be done? 2014/1/7 Anthony > What exactly do you need to do? > > > On Tuesday, January 7, 2014 1:39:04 PM UTC-5, Giuseppe D'Amico wrote: > >> what if someone does not do the logout, but for some reason the session >> e

Re: [web2py] Re: intercept closing session

2014-01-07 Thread Giuseppe D'Amico
what if someone does not do the logout, but for some reason the session end? 2014/1/7 Giuseppe D'Amico > thanks I will do like you say > > > 2014/1/7 Alan Etkin > >> El martes, 7 de enero de 2014 14:40:38 UTC-3, Giuseppe D'Amico escribió: >> >>&g

Re: [web2py] Re: intercept closing session

2014-01-07 Thread Giuseppe D'Amico
thanks I will do like you say 2014/1/7 Alan Etkin > El martes, 7 de enero de 2014 14:40:38 UTC-3, Giuseppe D'Amico escribió: > >> Hi, I am new with web2py, is there a way to intercept the closing of a >> session? >> > > You mean you want to catch a u

[web2py] intercept closing session

2014-01-07 Thread Giuseppe D'Amico
Hi, I am new with web2py, is there a way to intercept the closing of a session? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this messag

[web2py] building model at run-time?

2013-12-24 Thread Giuseppe D'Amico
Hi I am a newbie to web2py, I would like to know if there is a way to build the model of a database at run-time, for my application I have to connect to a legacy database and making queries on it, thus I thought that I need to build the model at run-time, I cane connect to the db with dal

[web2py] got an unexpected keyword argument 'lazy_tables'

2013-12-19 Thread Giuseppe D'Amico
Hi I am new to web2pywhen I try to connect to a database with DAL whit lazy_tables I get this error: TypeError: __init__() got an unexpected keyword argument 'lazy_tables' my version of web2py is 1.99.7, this is my code: db_name ='test' conn_string = "postgres://{0}:{1}@{2}/{3}".format(user,pwd,

[web2py] how to define adal model at runtime

2013-12-19 Thread Giuseppe D'Amico
Hi I am new to web2py I need to connect to a legacy database that could be postgresql or mysql, I would like to know if there is a way to define the model of the database at runtime? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (