Identifying user by session info...

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
admoore
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Feb 08, 2008 6:16 pm

Identifying user by session info...

Post by admoore » Fri Feb 08, 2008 6:34 pm

I am attempting to utilize Joomla 1.5 to duplicate behavior already in use on another site.

Using the wrapper, entered from a registered access menu, I need to get session info to uniquely identify the user, either by user name, or ideally, by a unique code stored with the user info in the existing user table.

I checked the session name and id for a registered session; but the session PHPSESSID doesn't contain a string unique to a given user.

The end result is a php page within the wrapper that offers access to online reports that vary user by user...

TIA for the help.

Joomla! Rocks!  8)

-Allen M.

sgreen
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Oct 24, 2005 1:36 am

Re: Identifying user by session info...

Post by sgreen » Fri Feb 08, 2008 10:37 pm

Doing the same thing myself.

In J1.0 you could use the $my->ID method of getting the user on there.  Just started looking into it under J1.5.

StuG


Post Reply