Dals wrote:
> Dear Community!
> There is a problem with default ezcAuthenticationSessionOptions.
> 
> When I'm try to set custom options names how it described in docs:
> -----
> $options = new ezcAuthenticationSessionOptions();
> $options->validity = 600;
> $options->idKey = 'customKey';
> $options->timestampKey = 'customTs';
> $filter = new ezcAuthenticationSession( $options );
> $filter->start();
> -----
> it going without errors or notices.
> 
> But it looks like that given auth options names are not overriding.
> When i dump $_SESSION array after auth. procedure to check that keys, it 
> gives me array like:
> ----
> Array
> (
>     [ezcAuth_id] => testuser
>     [ezcAuth_timestamp] => 1236259066
> )
> ----
> As you can see, key names was not ovverriden.
> 
> So, please, can you help me with this issue?
> How to successfully override those key names?

Did you call $filter->save() in your script?

> Thanks for response.
> 
> Regards,
> Dmitry Seredinov
> 


-- 
Alexandru Stanoi
System Developer
eZ Systems | http://ez.no
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to