passing non-drupal session info

I have a page outside of drupal that sets certain session variables. I want to be able to use this variable on the page.tpl.php but session data is reset. How can I do this?

They probably do not share

JoepH - July 6, 2009 - 21:51

They probably do not share the same session (cookie) name.
Both applications should be on the same domain!

-----------------------------------------
Joep
CompuBase, Drupal, websites and webdesign

As I can't see your code to

pobster - July 6, 2009 - 22:00

As I can't see your code to comment on it, I can only suggest you to take a look at how modules store session data, for examples see;

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/youtube_api...
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fb/fb.modul...

Pobster

global $user

cbearhoney - July 10, 2009 - 03:57

Do you know any documentation on correct use of the drupal global $user? Session data is stored in the $user array. That could help me.

www.arvoreblue.com
Clean Design. Smart Development.

 
 

Drupal is a registered trademark of Dries Buytaert.