0

I have wordpress blog in /docs folder, I would like display zend session data on blogs header page. so I would like identify the zend session in wordpress header file, can any one tell me how do it?

Guru
  • 419
  • 4
  • 13

1 Answers1

0

Is it possible for you to use the Zend_Session code in your wordpress header.php file? Eg:

    require_once $ZendFolder.'/Loader/Autoloader.php';
    Zend_Loader_Autoloader::getInstance();
    Zend_Session::start();
ChrisA
  • 2,091
  • 1
  • 14
  • 23
  • Thanks chris, I have tried this one. still i will try again on monday tanx for response – Guru Jul 30 '11 at 07:45
  • Ok. What happened when you tried this? Where did it go wrong? – ChrisA Aug 01 '11 at 10:27
  • Zend_Session_Exception: Session must be started before any output has been sent to the browser; output started in ,,, – Guru Aug 01 '11 at 15:39
  • when I tried with different options including your case as well giving me error. any way thanks for you concern chris. I have implemented using zend rest client it is working fine now. – Guru Aug 01 '11 at 15:41
  • @Guru can you show me the code you used to get zend sessions into wordpress please or check my question at http://stackoverflow.com/questions/8052538/get-zend-sessions-in-wordpress thanks – Anagio Nov 08 '11 at 15:37