Arun,
do you realize that (if I follow your explanation) your current setting for
SESSIONTIMEOUT is just 1 minute. That's an incredibly short time.
Indeed, your wording suggests that maybe you've misunderstood its purpose. You
say it "to limit the time someone logs onto another page". What do you mean by
that?
Typically this sort of setting is used to control how long you want to
allow users to be considered logged in FROM THE LAST TIME THEY EXECUTED A CF
PAGE. As such, you're setting suggests that you want people to be timed out if
they take more than a minute between page reads. That's pretty shocking! :-)
Which is why I think you're misunderstanding it. 15, 30, or even 60
minutes is more typical.
This
would also explain why you're unable to use session variables to hold your
multiple-forum submissions. I think you'll find that if you just up the values
in the CREATETIMESPAN--to something like (0,0,30,0), you'll be
happy.
Also,
it's worth noting that while you can set that value to any number of "days,
hours, minutes, seconds", if you set it beyond the value set it the CF
Administrator for "maximum session timeout", then you'll not get any more time
than that "max" value. No message is produced to warn you of that. (And one of
my longest complaints is that there's no way to programmatically determine what
that value is, if you don't have access to the Admin and can't get them to tell
you the value.)
/charlie
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Arun Persaud
Sent: Wednesday, July 10, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: [CFTALKTor] Sessions and Application.cfmI'm experimenting using SESSIONS and could use some help.I have a multiform that submits to itself using sessions and then finally to another page to be processed. I've set the session variable scope to the following:SESSION.multformCurrently my Application.cfm page already uses SESSIONS to limit the time someone logs onto another page that has nothing to do with the Multiple Form Page:<CFAPPLICATION NAME="loginApp"SESSIONMANAGEMENT="Yes"SESSIONTIMEOUT="#CreateTimeSpan(0,0,1,0)#"><CFPARAM name="session.checkedin" default="no">My question is this. What changes or additions do I need to make on the Application.cfm to enable the session for the Multiple Form Page? Do I have to specify another <CFAPPLICATION NAME> on the same page or make a new page called Application1.cfm with the new <CFAPPLICATION NAME>?Thank you.Arun
