»
S
I
D
E
B
A
R
«
how to find out my current user id in other page controller after i login??
November 10th, 2009 by wood

i am planing to set a permission on my event index page, which just allow certain user to view which had set when i add the event. After user click into my event, the event controller will 1st check the user id and check the event database which control the user can see which event in his calendar. The permission is added when user create a event and share to other user. Beside, how can i find the current user id to compare with my event database which is the accurate 1?

any suggestion for me to did this function? i need to know the code and concept how i get the current user id to compare with all the event database, and allow the current user see the certain event.

thanks alot for your information.


Leave a Reply

»  Substance: PHP Frameworks   »  SiteMap