how to retrieve session id?

Author Message

Alessandro Cipriani

Thursday 19 February 2004 6:13:22 am

hi all
i know this is a strictly-php question, but i need it to use with ezPublish. i got to call in a i-frame another site, to which i got to send the session id. so i got to retrieve it, but how? i think there is a native php function to do it...

any hint?
best regards
alessandro

Alex Jones

Thursday 19 February 2004 2:06:32 pm

Check out ezhttp: http://ez.no/ez_publish/documentation/reference/template_operators/data_extraction/ezhttp

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alessandro Cipriani

Monday 23 February 2004 1:32:31 am

thanks alex
is there some example on it?
i need to retrieve the session unique id

best regards
alessandro

Alex Jones

Monday 23 February 2004 6:45:19 am

I'm afraid that I do not have any examples at the moment. Perhaps someone else will chime in...?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alessandro Cipriani

Tuesday 24 February 2004 1:08:13 am

is ezhttp able to retrieve native php sessionid?
with native i mean the sessionid managed by php, not any user session variable

best regards
alessandro

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

Main resources:

Total runtime0.0179 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.0079 587.9141152.6250
Module start 'layout' 0.00790.0037 740.539139.4453
Module start 'content' 0.01170.0043 779.984493.3203
Module end 'content' 0.01590.0019 873.304734.3047
Script end 0.0178  907.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.8518140.0002
Check MTime0.00116.4303140.0001
Mysql Total
Database connection0.00189.936310.0018
Mysqli_queries0.003218.187030.0011
Looping result0.00000.224210.0000
Template Total0.00168.710.0016
Template load0.00084.467010.0008
Template processing0.00084.237510.0008
Override
Cache load0.00063.079010.0006
General
dbfile0.00031.524280.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