Also one other thing. The session doesnt close in an hour (or whatever is set in the application tag) It closes in an hour of inactivity. As long as the user does something - clicks on a button or a nav link or something around the site, the session remains open. All day if required.
That's why you can have a session expiry of 20 minutes and it works ok. As long as the user keeps doing something the session remains open. If they go to lunch without logging out, the session logs them out anyway. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > > wrote: > > > > How do I set up a session variable and then reccall it? > > > > I.e. I want to store 4 things in session variables. Player, Position, > > Email > > and Username. > > > > How would I write a statement for... > > > > 1) Put these values in a session that closes in (let's say, an hour). > > 2) Recall the session variable (I assume it would be something like.. > > #session.username# or something like that. > > > > Can someone help me out? :) > > > > --- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241391 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

