ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old October 8th, 2004, 07:43 AM
mikemac mikemac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Greenville NC
Posts: 70 mikemac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 24 sec
Reputation Power: 4
Question <CFLOGIN>...getAuth() problem

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???

Reply With Quote
  #2  
Old October 8th, 2004, 07:50 AM
mikemac mikemac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Greenville NC
Posts: 70 mikemac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 24 sec
Reputation Power: 4
Thumbs up Problem solved

Quote:
Originally Posted by mikemac

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???


I'm an idiot I used GetAuth() instead of GetAuthUser().

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > <CFLOGIN>...getAuth() problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway