Session variable error

2005-08-31 Thread Buntin, Seth - KATE
I have this:

 







Logged In:
#session.user.displayname# 







 

I would assume that is the session.user.displayname isn't defined it
would worry about giving an error but I get:

 

Element USER.DISPLAYNAME is undefined in SESSION.

 

Why is that?

 

Seth Buntin

Web Resources Coordinator

Kentucky Academy of Technology Education

Murray State University

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217018
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Session Scoped Login with CFC

2005-08-24 Thread Buntin, Seth - KATE
I have talked about this before (and even had a working copy but deleted
it) and I am going to ask it again.

 

I am using Model-Glue for this application and I want to setup an admin
login system with the cfc's below.

 

My error that I am getting is:

Element ADMIN.ISLOGGEDIN is undefined in VARIABLES.

 

adminLoginController.cfc:

 





  

  

  

 

  



 

















  


















































  



























 

adminLogin.cfc:





























































 









 









 

I know that I don't initially set the variables.admin.isLoggedIn
variable so I don't know where to go from here.  I am almost there (I
can feel it).

 

Thanks for the help.

 

Seth



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216175
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


FarCry CMS install error...

2005-07-01 Thread Buntin, Seth - KATE
I am getting this error on install:

 

Data truncation: Data truncated; out of range for column 'userId' at row
1

 

Has anyone had this issue?

 

Thanks,

Seth Buntin

 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211024
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Session Scoped Login CFC

2005-06-24 Thread Buntin, Seth - KATE
I am trying to visualize the Login Process for a CFC I am trying to
create.  I am new to the idea of "OOP" in CF and might need a big knock
in the head once you see the problem.

 

I want to manage all of the Users Information in the Session Scope so
that I can access the information from any page and create a more
complex set of user authorization.

 

Here is what I have so far.  I have taken the idea of this out of the
fb41bookstore sample from Brian Kotek's website.  His example is a
shopping cart and mine is user login so that is one reason why I can't
visualize this...

 

(This application is in the ModelGlue framework)

loginManager.cfc

 



 























   













   

























































































































 

Login.cfc: