Hi all,

Once a user's ID/PW match those listed in a MySQL table, I'd like to 
create a variable of the correct scope so that user can see "admin" 
features in a photography gallery website.

I'm not the familiar with using session or global variables ... and how 
to terminate same at a predetermined state (when a user logs out, 
navigates away from the /admin/ directory or a time limit expires).

Example feature:

On the thumbnail gallery page, I've added a form between the masthead 
and the thumbgallery. It allows the user to edit the filenames and sort 
keys, etc. I only want this table to be visible to approved users.

Thank you!

* JB *




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4684
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to