coldfusion session management and session keep alive

Discussion in 'Programming' started by webmandman, Nov 1, 2010.

  1. #1
    Website A
    unique IP address
    unique domain address (mysite.com)
    Coldfusion app (application.cfc)
    J2EE Session management

    Website B
    unique IP address
    unique subdomain address (sub.mysite.com)
    JSP web application
    J2EE Session management

    For the life of me I can't figure out how to keep the session alive on website A from website B.

    the user will always log into website A. to see content on website B, the user is forwarded to the desired page with SID and UID in URL parameters. SID is the J2EE session id, and uid is the user's id. at this point website B pings back a script on website A that checks to see if the user's session is still active.

    session times out at 60 mins. if user is on website B for more than 60 mins in the moment of going back to website A, the user is redirected to the login page.

    the only way i can keep the session alive is by hitting any page within website A. BUT how can i refresh or keep the session alive.

    If i knew where coldfusion stores the session data, i would think i can just update that data - update the last visit time or whatever.

    Help!!!!
     
    webmandman, Nov 1, 2010 IP
  2. prptl709

    prptl709 Guest

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Please help about this by code how to manage the session.
     
    prptl709, Feb 25, 2011 IP
  3. Renatus

    Renatus Member

    Messages:
    216
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    35