remember me and forms

remember me and forms

Thursday 04 October 2007 9:58:48 am - 2 replies

Author Message

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

You must be logged in to post messages in this topic!

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