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?
Asked
Active
Viewed 214 times
0
-
Nothing in here? http://stackoverflow.com/questions/tagged/wordpress+zend-framework – David Weinraub Jul 28 '11 at 21:19
-
$_SESSION not working for you? – Adrian World Jul 28 '11 at 22:53
-
I have tried with $_SESSION is logged in function, still it showing an session identity as false. – Guru Jul 29 '11 at 08:47
1 Answers
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
-
-
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