Hello there,
I have put created another .php in the gallery folder, and put something in the session by:
session_start();
$_SESSION['status'] = 'true';
I can retrieve this value back in another .php by, say:
session_start();
die ($_SESSION['status']);
However, I cannot retrieve that when i add the script in init.php.
Could any expert give some advice to me, how to get my custom session value in init.php?
Thank you very much!
Regards,
Leo Yuen
Posts: 18
Hey Leo
I will like to know if you have solved you problem, I have tried the same result
Johannes Fauerskov
Posts: 2
Maybe you need to set your session ID first to what your gallery is using by session_id('GallerySession') for example?
Posts: 18
Thanks I try that but no luck.
May be I should try to write what I want to do.
In my gallery, i have some menu setup in album.header, see www.vitapedersen.dk
And I want to acces gallery album in www.vitapedersen.dk from another website, Then I have to change my menu "Home" setting to retur to the right website
I think I could use the session param, I will use Session name to tell album.header with homepage is calling it.
Or is there a better way to do this
Best Regards
Johannes Fauerskov