logon to both public and admin siteacess

Author Message

Anthony Tay

Sunday 06 May 2007 5:04:21 am

Hi,

I have an external php program and this program will submit the username and password to /admin/user/login to login. However, I also need to be able to login to the public siteaccess at the same time, how can I go about doing it?

Thank you
Regards
Anthony

Frédéric DAVID

Monday 07 May 2007 1:16:48 am

In the ini file, you can retrieve a line SessionNamePerSiteAccess=enabled.

I think you can override it, and disable it.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

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 31 2025 06:05:31
Script start
Timing: Jan 31 2025 06:05:31
Module start 'layout'
Timing: Jan 31 2025 06:05:31
Module start 'content'
Timing: Jan 31 2025 06:05:31
Module end 'content'
Timing: Jan 31 2025 06:05:31
Script end

Main resources:

Total runtime0.0146 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.0053 588.2578151.2266
Module start 'layout' 0.00530.0031 739.484436.6641
Module start 'content' 0.00840.0049 776.148490.1406
Module end 'content' 0.01330.0012 866.289129.9922
Script end 0.0146  896.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.6675140.0002
Check MTime0.00106.8168140.0001
Mysql Total
Database connection0.00074.577210.0007
Mysqli_queries0.003020.576330.0010
Looping result0.00000.122510.0000
Template Total0.00106.510.0010
Template load0.00075.091810.0007
Template processing0.00021.404910.0002
Override
Cache load0.00053.343910.0005
General
dbfile0.001510.446680.0002
String conversion0.00000.060440.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