I've blogged quite a bit about this kind of thing.  Maybe these entries will
help you:

http://jake.cfwebtools.com/index.cfm/2007/4/20/Farcry-Members-Only-Section 
http://jake.cfwebtools.com/index.cfm/2007/4/20/Site-Tree-Branch-Specific-Per
mission 
http://jake.cfwebtools.com/index.cfm/2007/4/20/Create-A-Custom-Farcry-Login-
Page 
http://jake.cfwebtools.com/index.cfm/2007/4/20/Farcry-Logging-In-And-Out 
http://jake.cfwebtools.com/index.cfm/2007/10/24/Farcry-Custom-Permission-Set
s 

_____ 

Jake Churchill 
Team Leader
11204 Davenport, Ste. 100
Omaha, NE  68154 
http://www.cfwebtools.com 
402-408-3733 x103 


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of nakedToast Studios
Sent: Friday, February 01, 2008 10:42 AM
To: farcry-dev
Subject: [farcry-dev] Frontend Member Login and Registration


== What I want to do ==

Users should be able to register on the homepage.
When they are registered, they can log in and are allowed to watch
some private pages.
Not-Logged-In-Users should be redirected to the login/register-page
when trying to look on a private page.



== How I thought I would do ==
(after reading a lot of posts in this group and in the docs)

Putting the Login/Register-Form into an includedObj.
Putting this includedObj to each private page.
Putting the permission-logic into that includedObj (the include checks
whether user is logged in, if true: display, else redirect to login
page).



== What I don't understand/Don't know how to deal with ==
(hope its not that i overread something in the group or docs)

Is the includedObj the right way?
Into which DB should the frontend-user (=members) be stored? dmUser/
dmProfile? Or a new one? BTW (offtopic): How do I install new
Databases? Going to phpMyAdmin, create one and use it? Or should I let
it be deployed by the COAPI? How? (ontopic again)
Is there something like #application.user.id# that I could test, to
check if the user is logged in?



== Are there any aspects, I didn't consider? Is this enough
information? ==

We use Farcry 4.0.9, SuSE 9.3, ColdFusion 7, MySQL 4.1.10a.
Ok... I think that's it. If I forgot something, I will post it after.

Thanks in advance to everybody that will (try to) answer.
Sorry if the answers are obvious... then perhaps I have the wrong
technique of questioning the web (group/documentation).

Rock 'N Roll,
tha toast!


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.18/1254 - Release Date: 1/31/2008
8:30 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.18/1254 - Release Date: 1/31/2008
8:30 PM
 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to