reading Cookies

Author Message

John van der Boom

Monday 21 July 2003 4:57:34 pm

Hello,

I'm running a script with eZp that needs to read some value from a cookie like this:

$var_A = $_COOKIE['var_A'];

This script works perfect standalone., but when I run it inside eZp the value of var_A is empty.

Is there a way to solve this problem?
Thank you in advance

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 18 2025 22:31:23
Script start
Timing: Jan 18 2025 22:31:23
Module start 'layout'
Timing: Jan 18 2025 22:31:23
Module start 'content'
Timing: Jan 18 2025 22:31:24
Module end 'content'
Timing: Jan 18 2025 22:31:24
Script end

Main resources:

Total runtime0.6960 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.7891152.6094
Module start 'layout' 0.00520.0035 740.398439.4141
Module start 'content' 0.00870.6857 779.8125399.2969
Module end 'content' 0.69440.0016 1,179.10948.1953
Script end 0.6959  1,187.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4363160.0002
Check MTime0.00120.1752160.0001
Mysql Total
Database connection0.00060.092510.0006
Mysqli_queries0.661395.0133460.0144
Looping result0.00040.0616440.0000
Template Total0.665895.720.3329
Template load0.00170.247420.0009
Template processing0.664195.416020.3320
Template load and register function0.00010.017210.0001
states
state_id_array0.00250.355210.0025
state_identifier_array0.00090.134320.0005
Override
Cache load0.00130.189390.0001
Sytem overhead
Fetch class attribute can translate value0.00080.120310.0008
Fetch class attribute name0.00090.132710.0009
XML
Image XML parsing0.00010.015410.0001
class_abstraction
Instantiating content class attribute0.00000.001310.0000
General
dbfile0.00060.0898100.0001
String conversion0.00000.001440.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs