Get Session ID + Name

Locked
supersass1
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun May 07, 2006 10:05 am

Get Session ID + Name

Post by supersass1 » Wed Apr 16, 2008 3:05 pm

Hi,

i need to get the SessionID and the Name.
Im coding sometimes with Ilch, and there, i get it with thats code:

Code: Select all

$_SESSION['authname']

Code: Select all

$_SESSION['id']
But how is it with Joomla?

greetz.. :)

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Get Session ID + Name

Post by pe7er » Wed Apr 16, 2008 3:22 pm

See http://forum.joomla.org/viewtopic.php?f=428&t=269999 for a similar question + solution.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

supersass1
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun May 07, 2006 10:05 am

Re: Get Session ID + Name

Post by supersass1 » Wed Apr 16, 2008 3:32 pm

yeah thanks, but i need a solution with joomla 1.x, and not 1.5x... :(

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Get Session ID + Name

Post by pe7er » Wed Apr 16, 2008 4:21 pm

supersass1 wrote:yeah thanks, but i need a solution with joomla 1.x, and not 1.5x... :(
Please mention such details in the future.... :(

The method described in http://forum.joomla.org/viewtopic.php?f ... e#p1219053 will work in 1.0.x.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com


Locked

Return to “Joombie Developer Lab”