[Typo3-dev] How sessions work?

"Stig N. Færch" stig at 8620.dk
Mon May 30 22:35:03 CEST 2005


> And maybe someone have a solution to my problem as well?
> 
> I have created a hook in the fetchGroups function in the userauthgroup 
> class. (which I hope will be officially implemented later on)
> 
> In the hook-function I need access to some data which are stored in 
> $BE_USER->uc. My problem is that the data are not there yet.
> 
> I have narrowed it down that it must be because that the arrays in 
> $BE_USER->uc haven't yet been filled at this point.
> 
> Any ideas how to get these data in another way?
> 
> /Stig

I found out how to get the uc-data through the use of fetchUserSession() 
and unpack_uc().

So now it seems that I have got the Role Extension work alright.
More news about this soon.

/Stig




More information about the TYPO3-dev mailing list