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.

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

eZ debug

Timing: Jan 19 2025 01:22:13
Script start
Timing: Jan 19 2025 01:22:13
Module start 'layout'
Timing: Jan 19 2025 01:22:13
Module start 'content'
Timing: Jan 19 2025 01:22:14
Module end 'content'
Timing: Jan 19 2025 01:22:14
Script end

Main resources:

Total runtime0.6176 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 589.1563152.6250
Module start 'layout' 0.00980.0034 741.781339.4453
Module start 'content' 0.01320.6029 781.2266527.7422
Module end 'content' 0.61610.0015 1,308.96888.1641
Script end 0.6176  1,317.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5628160.0002
Check MTime0.00130.2058160.0001
Mysql Total
Database connection0.00130.204210.0013
Mysqli_queries0.566691.7459540.0105
Looping result0.00050.0827520.0000
Template Total0.581894.220.2909
Template load0.00190.301020.0009
Template processing0.580093.908320.2900
Template load and register function0.00010.014210.0001
states
state_id_array0.00050.086810.0005
state_identifier_array0.00110.184520.0006
Override
Cache load0.00150.2475210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.118220.0004
Fetch class attribute name0.00120.194140.0003
XML
Image XML parsing0.00200.323020.0010
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00200.3252210.0001
String conversion0.00000.001840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs