How to set cookie?

Author Message

sangib das

Tuesday 03 October 2006 2:25:12 am

Hi all,
I want to create a loging form to the user site.
Such as a text field ,password field ,check box for cookie setting and submit button.
if user select check box then username and password will be stores on local machine otherwasie will not store.
is it possible...........................need help
Thanks and Regards
Sangib

Nabil Alimi

Tuesday 03 October 2006 3:07:50 am

Hi Sangib,

If you want to handle cookies, you'll need to build your own extension.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Kristof Coomans

Tuesday 03 October 2006 3:11:13 am

Hi guys

In eZ 3.9 there will be a "remember me" feature. There's also a patch for 3.7 and 3.8: http://ez.no/community/contribs/hacks/3_9_remember_me_feature_backport_for_3_8_and_3_7

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 21 2025 16:19:50
Script start
Timing: Jan 21 2025 16:19:50
Module start 'layout'
Timing: Jan 21 2025 16:19:50
Module start 'content'
Timing: Jan 21 2025 16:19:50
Module end 'content'
Timing: Jan 21 2025 16:19:50
Script end

Main resources:

Total runtime0.0119 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.3984151.1953
Module start 'layout' 0.00420.0026 740.593836.6328
Module start 'content' 0.00680.0038 777.226690.1250
Module end 'content' 0.01060.0012 867.351633.9922
Script end 0.0119  901.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.001916.1063140.0001
Check MTime0.00097.7518140.0001
Mysql Total
Database connection0.00065.266610.0006
Mysqli_queries0.002621.769430.0009
Looping result0.00000.100110.0000
Template Total0.00097.610.0009
Template load0.00065.442910.0006
Template processing0.00032.140710.0003
Override
Cache load0.00053.920910.0005
General
dbfile0.00021.722280.0000
String conversion0.00000.060140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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