Joomla session and how it works

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
User avatar
timgerr
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Sep 19, 2006 4:22 am
Location: Michigan

Joomla session and how it works

Post by timgerr » Wed Oct 17, 2007 4:06 am

Hey all, I was wondering how to use Joomla as a session holder.  What I am wanting to do is somehow use Joomla's great session environment and include it into other (non joomla) pages.  Can this be done.  I want to log into joomla then go to another page (non joomla) but still hold all the session variables (like logged in user information, rights and restrictions).  Can this be done, I think it can because of all the bridges to other apps.  Is there a good explanation on how to do this?


Thanks,
timgerr

[MOD NOTE: Fixed typo for better understanding]
Last edited by matthewhayashida on Wed Oct 17, 2007 4:11 am, edited 1 time in total.
-How important does a person have to be before they are considered assassinated instead of just murdered?
-He's not carnival personnelle!!!

B03S
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jun 19, 2006 10:47 am

Re: Joomla session and how it works

Post by B03S » Tue Nov 27, 2007 8:02 pm

Looking for the same thing..
I have a page wrapped in Joomla and want to use the session vars on this wrapped page.
The page is another php script using a different mysql db

kdevine
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu Mar 02, 2006 8:38 pm
Location: Baltimore, MD

Re: Joomla session and how it works

Post by kdevine » Sat Dec 01, 2007 4:12 pm

Joomla 1.5 uses a normal PHP session but uses objects within its own framework to work with it.

Check out libraries/joomla/session/session.php


Post Reply