|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
When using cflogin and getauth() I am getting this error when I attempt to login.....
Variable GETAUTH is undefined. The error occurred on line 2. below is my code on the force user to login page...... <!--- Tell ColdFusion to consider user to be logged in ---> <cfloginuser name="#GetUser.UserID#,#GetUser.FName#" password="#FORM.password#" roles="" > And below is the <cfset> tags to set the variables--- <CFSET UserID=ListFirst(GetAuth())> <CFSET FName=ListFirst(GetAuth())> -------------------------- How is it undefined if I set it at the top of the page??? ![]() |
|
#2
|
|||
|
|||
|
Quote:
I'm an idiot I used GetAuth() instead of GetAuthUser(). |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > <CFLOGIN>...getAuth() problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|