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

  • SEARCH
  • Home
  • 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 7591027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:33:16+00:00 2026-05-30T20:33:16+00:00

Is there any way to load a specific user session by providing the correct

  • 0

Is there any way to load a specific user session by providing the correct value of CFTOKEN and/or CFID?

Something like php’s session_id($id) function.

Or some way to change data of an specific session.

I need a webservice that will add or change some information on a specific user session. I know the CFID and CFTOKEN values because I share a subdomain cookie. However applications are on different servers

  • 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-05-30T20:33:17+00:00Added an answer on May 30, 2026 at 8:33 pm

    Not that it’s the best way of doing things, as it uses undocumented code that can change without notice between versions. But you can use certain methods to access sessions.

    <cfscript>
        appName = 'zadsApp';
        jSessTracker = CreateObject('java', 'coldfusion.runtime.SessionTracker');
        appSessions = jSessTracker.getSessionCollection(JavaCast('string', appName));
        targetSession = appSessions[appName & '_' & sessionCFID & '_' & sessionCFTOKEN];
        // Dumping, reading, writing WILL update the last accessed time.
        // There are ways around this if needed...
        WriteDump(targetSession);
        targetSession.something = 'A new value';
    </cfscript>
    

    Now you mention that this is on a different server, can I just double check that you want a seperate server to change a session on another server? Without putting any kind of code like the above on that server (the one with the session)? Although it’d be a heck of a lot easier if the code was on the same server, you might be able to perform code like this remotely using JMX… but I’m sure there must be an easier way to do all of this.

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

Sidebar

Related Questions

Is there any way to have something that looks just like a file on
Is there any way to load a swf file and display it in a
Is there any way that I can use C# to load and then render
Is there any possible way to PLAY a you tube video on page load
Is there any way, in any language, to hook my program when a user
Quick one; Netbeans 7.0 for PHP development: Is there any way to inform NetBeans
On page load is there a way to enumerate all the nest user controls
I was wondering if there's any way to use Zend Autoloader to load all
Is there any way to check whether a file is locked without using a
Is there any way to capture the MouseDown even from the .NET 2.0 TextBox

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.