Be careful when naming your applications the same. There is a possibility of over writing variables of the same name that reside in memory. This can make both applications unstable.

 

Shane von Svoboda - Programmer Analyst

pavliks.com, 364 St Vincent St, Barrie, ON

Tel: 705.726.2966 Fax: 705.726.1323

[EMAIL PROTECTED]

 

-----Original Message-----
From: Erik Fenkell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 3:39 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFTALKTor] session variable and application.cfm

 

I'll give that a try. Thanks Bob.

 

Erik

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bob Silverberg
Sent: Thursday, March 14, 2002 3:44 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFTALKTor] session variable and application.cfm

I just tested this, and the CFID and CFTOKEN remain the same, so this technique should work.

 

Bob

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bob Silverberg
Sent: Friday, 15 March 2002 9:35 a.m.
To: [EMAIL PROTECTED]
Subject: RE: [CFTALKTor] session variable and application.cfm

I believe that you'd need to have the same value for the NAME attribute of the CFAPPLICATION tag for that to work.  There are other ways around it, like storing the value in a database with the CFID and CFTOKEN as keys to the record, and then retrieving the value from the second application.  You could also use a text file on the server as well (perhaps name it with the CFID and CFTOKEN), but that might be slower.

 

On second thought, I'm not sure if that world work.  Perhaps each application will generate a new CFID/CFTOKEN.  I'll test that out and see what happens.

 

Bob

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Erik Fenkell
Sent: Friday, 15 March 2002 9:12 a.m.
To: [EMAIL PROTECTED]
Subject: [CFTALKTor] session variable and application.cfm

Hi Everybody,

 

Quick question. Is it possible to pass session variables between two different applications (application.cfm).  I seem to be unable to do so.

 

 

Thanks,

Erik

Reply via email to