The best way to learn all of this is to read the manual.

Application.cfc -
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001102.htm

Session variables -
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001156.htm

The CFAPPLICATION tag -
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000217.htm

On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Ok. Good to know.
>
> Can I have multiple sessions going at once? Also, what is session
> management and all the other things in the cfapplication tag?
>
> Original Message:
> -----------------
> From: Mike Kear [EMAIL PROTECTED]
> Date: Thu, 25 May 2006 10:11:59 +1000
> To: [email protected]
> Subject: Re: Session Variables
>
>
> 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:241393
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

Reply via email to