Forums / Setup & design / Auto login using cookies?

Auto login using cookies?

Author Message

Ted Striker

Friday 16 April 2004 3:42:48 am

Hi there!

I'm quite a newbie using ezPublish, still exploring wide posibilities. I've been digging the forum looking for a topic that would answer my question, not luck though. So here it goes:

How can a user be logged automatially when returning to the site after succesfully login once, a simple client side cookie feature widely used.

Is there any way for eZPublish to automatically log a user this way? Any references about this in the forum or documentation?

Thanks!!!!

 

 

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

Valentin Doroschuk

Wednesday 16 August 2006 8:49:47 am

Added this ability to
3.9.0alpha1 (trunk rev. 16616).

New INI setting in site.ini has been added:
- [Session].RememberMeTimeout:
Number of seconds a session cookie will last,
if an user wants to store current session to the cookie
should click on "Remember me" checkbox on login page.
Empty or 0 means this ability will be disabled and CookieTimeout will be used.

eZ debug

Timing: Jan 19 2025 12:33:17
Script start
Timing: Jan 19 2025 12:33:17
Module start 'content'
Timing: Jan 19 2025 12:33:17
Module end 'content'
Timing: Jan 19 2025 12:33:17
Script end

Main resources:

Total runtime0.0208 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 588.9531180.8359
Module start 'content' 0.00710.0064 769.789193.8672
Module end 'content' 0.01350.0072 863.656370.7031
Script end 0.0207  934.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002210.5881120.0002
Check MTime0.00104.7486120.0001
Mysql Total
Database connection0.00104.979210.0010
Mysqli_queries0.002913.844440.0007
Looping result0.00000.121620.0000
Template Total0.006832.510.0068
Template load0.00094.214110.0009
Template processing0.005928.210810.0059
Override
Cache load0.00062.852610.0006
General
dbfile0.00209.7794100.0002
String conversion0.00000.040130.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs