|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Check Login
Hello,
I'm using the <cflogin> framework and I want to check to see if someone is logged in (it doesn't matter who it is). Basically if someone isn't logged in a button will be grey and without a link. If that someone logs in the button is blue and has a link. So the clause would be: - <cfif loggedin eq true> Blue button with link <cfelse loggedin eq false> Grey button without link </cfif> Is this possible because I can't a reference to it in the live docs? Thanks Chris |
|
#2
|
|||
|
|||
|
Look at the getAuthUser() function, which will be an empty string if the user is not logged in.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Quote:
EDIT I don't know what I did different but its working now. Sorry. Chris |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Check Login |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|