remember me and forms

Author Message

laurent le cadet

Thursday 04 October 2007 9:58:48 am

Hi,

I'm curretly building a site where anonymous users can ask for doc. about products.
Is there a way to use the remember me feature to store the recurrent user infos (name, email...) the first time he fill a form?

And then fill the next forms...

If not, is there another option?

Regards.

laurent

Kåre Køhler Høvik

Tuesday 09 October 2007 6:09:43 am

Hi

You might be able to use the ezpreference ( http://ez.no/doc/ez_publish/technical_manual/3_10/reference/template_operators/data_and_information_extraction/ezpreference ) feature. The preference values are set per session for anonymous users, and per user for logged in users. The values are also accessible in PHP using eZPreference::value() / eZPreference::setValue()

Kåre Høvik

laurent le cadet

Tuesday 09 October 2007 6:22:08 am

Kåre,

Thanks for the tip.
The site is still a 3.9.2. and I need more than user preferences.

I managed to do something with a custom user class that anonymous user can create out of the user/register channel.

As soon as they create there own user account and user additionnal infos, they are login and redirect to the doc form already fill with there new existing datas.

In addition, there will be able to login again for next visit.

It's a kind of "ping-pong" with redirections but it seems to work.

See you.

Laurent

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.