Hi,

I am in the process of building my first app using reactor (with fusebox 5.1) and I am just testing the water. The app requires initial login with the user added to the session scope.

I have looked through the docs and done a quick google search but how do I handle the session with reactor?

Is it as simple as creating the user record and assigning it to a session scoped variable?

e.g
<cfset session.user = application.reactor.createRecord('user').load(userid=1)>

or is there a better/different way to handle this?

Many thanks,

Dave
--
    _______________________________________________________________________
    David Phipps, Director
    [EMAIL PROTECTED]

    Chapel Studios / London
    T +44 (0)20 7100 6980 F +44 (0)20 7100 6981 M +44 (0)7931 375040
    New Broad Street House, 35 New Broad Street, London, EC2M 1NH, UK

    Visit our website: http://www.chapel-studios.co.uk
    _______________________________________________________________________

    Chapel Studios is a limited company registered in England. The
    information in this email is confidential, intended solely for the
    addressee, and may be legally privileged. If you are not the addressee
or authorized to receive this for the addressee, you must not use, copy,
    disclose or take any action based upon this message or any information
    herein. If you have received this message in error, please advise
    the sender immediately by reply e-mail.


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to