Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8382017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:49:54+00:00 2026-06-09T16:49:54+00:00

I am using ColdFusion 8. I am using this line to timeout sessions: <CFAPPLICATION

  • 0

I am using ColdFusion 8. I am using this line to timeout sessions:

<CFAPPLICATION NAME="XXX" 
CLIENTMANAGEMENT="NO" 
SESSIONMANAGEMENT="Yes" 
sessionTimeout="#CreateTimeSpan(0,0,1,0)#">

I am creating a session like this:

if (not structKeyExists(SESSION, "UserInfo")) {
    SESSION.UserInfo = structNew();
}

I expect that my session will timeout after one minute. This is not working properly. I’ve tried every combination of numers, but my sessions NEVER time out. Even after not working all weekend (and shutting down my browser), my session is still up and running.

Why might my sessions not be timing out?

EDIT ~ My proof that my sessions are not timing out is that I can access a site with specific info in the session scope and it will never die, even after weeks of not using that browser.

We have three sites with three distinct names 1) XXXProd, 2) XXXStage, and 3) XXXDev.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:49:55+00:00Added an answer on June 9, 2026 at 4:49 pm

    Have you considered switching to J2EE sessions?

    <cfscript>
        session.setMaxInactiveInterval(1);
        getPageContext().getSession().invalidate();
    </cfscript>
    <cfcookie name="jsessionid" expires="now">
    <cflocaton url="/" addtoken="false">
    

    That will not only kill of the cookie and ColdFusions knowledge of the session, it will kill the underlying session as well. You also don’t need to have a “sessionless” page request that way.

    With your current situation, in Server Monitor can you see sessions being created and destroyed?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ColdFusion 8. Doing something like this: <cfheader name=content-disposition value=attachment; filename=abc.xlsx> <cfcontent
I am using ColdFusion 8 and jQuery 1.7. ** This is a programming question,
I'm using this to (try) to validate a 'strong' password in ColdFusion 7. if
I am using ColdFusion 8. I am trying to write this code block in
I'm trying to obtain credentials from ning network using Coldfusion 9, so first this
I am using ColdFusion 9.1.2. I have a CFC called orders.cfm. This is the
Using ColdFusion 8 I usually escape all my form inputs like so: <input id=foo
I am using ColdFusion to encrypt and decrypt. I have variable active with a
We are using ColdFusion MX7. The CFDOCUMENT tag uses iText for the PDF creation
I'm using coldfusion 9 and I'm trying to grab a file from an ftp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.