are you aware that recent version of web2py by default renew session every time a user logs in / logs out for security reasons ?
On Wednesday, October 28, 2015 at 5:10:57 PM UTC+1, Gael Princivalle wrote: > > Hello all. > > I've got a strange problem with session. > I use PHPlist for mailing. > When the user click on a link in a PHPlist mail the URL is URL + some > variables > like > &utm_source=emailcampaign6&utm_medium=phpList&utm_content=HTMLemail&utm_campaign=Newsletter+dell%27Azienda+Agricola+Mompal%C3%A0+-+01+-+Offerta+del+Mese+-+Composta+di+Pesche > > In this page the user can add in session a product to the cart. But > session is not available. > So it don't add any product to the cart. > In this case if the user is in the cart without any product I > use session.flash for displaying a message like "Please add a product to > the cart". > But it don't appear. > > Also logging is impossible. The user can access to the login form, but > sending it don't have any effect. > > How can I force session to be created? > > Thanks, regards. > -- 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 message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

