RE: Pass content to/from ASP page

2001-09-20 Thread Carlisle, Eric

For the first one, GET or POST (or a common db).
For the second one, I havn't the foggiest (but also assume that you can't).

-Original Message-
From: Kevin Derby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 4:07 PM
To: CF-Talk
Subject: Pass content to/from ASP page


What's the most effective way to pass variable content between a CFM and ASP
page?  In the same vein, is there any way for CFM to see ASP/IIS session
variables, or is that exclusive to asp.dll?

Kevin


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Pass content to/from ASP page

2001-09-20 Thread Ryan Farrell

I'm just a novice with ASP, but I'd probably go with posting hidden form
fields or query string variables from one to the other.

Ryan

-Original Message-
From: Kevin Derby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 3:07 PM
To: CF-Talk
Subject: Pass content to/from ASP page


What's the most effective way to pass variable content between a CFM and ASP
page?  In the same vein, is there any way for CFM to see ASP/IIS session
variables, or is that exclusive to asp.dll?

Kevin


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Pass content to/from ASP page

2001-09-20 Thread Billy Cravens

For maintaining state between the application servers, there may be some
environment variables you can look at ("HTTP_cookie"?)

However, a better way to do things would be your own cross-platform
session maintenance.  Inside of CF and ASP, use each language's native
session management.  However, when writing a session variable, also
maintain this information somewhere independent of the app server, like
as a cookie or in a database.  If you do it in a db, make sure to come
up with some mechanism for recognizing who the user is - may some sort
of UID, that is passed around page to page.  When going server to
server, check against this to set any "stored" session vars - you would
do this in ASP's Session_OnStart and in CF's Application.cfm

---
Billy Cravens
Web Development, EDS
[EMAIL PROTECTED]


-Original Message-
From: Ryan Farrell [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 3:11 PM
To: CF-Talk
Subject: RE: Pass content to/from ASP page


I'm just a novice with ASP, but I'd probably go with posting hidden form
fields or query string variables from one to the other.

Ryan

-Original Message-
From: Kevin Derby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 3:07 PM
To: CF-Talk
Subject: Pass content to/from ASP page


What's the most effective way to pass variable content between a CFM and
ASP page?  In the same vein, is there any way for CFM to see ASP/IIS
session variables, or is that exclusive to asp.dll?

Kevin



~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Pass content to/from ASP page

2001-09-20 Thread Costas Piliotis

I'd actually recommend using the following code in application.cfm to
convert your session variables to client variables, and in cf adminstrator,
save the client variables in the databse instead of the registry.





What we're doing is creating a client variable that's sort of a structure
called session.  Therefore for each session.whatever, you'll have
client.session.whatever

When you configure cf to stored client variables in the database, two tables
will be created:

CDATA
CGLOBAL

In CDATA, there's: cfid, app, data

I belive cfid stores the cfid and cftoken as cfid:cftoken format.  You can
capture these two values through asp:

myID = Request.cookies ("cfid") & ":" & Request.cookies ("cftoken")

>From there, the app name is whatever you specified in  tag in
application.cfm(Most of the time).

The data will be all of your session variables.  You're gonna have to parse
through them yourself.

As for sending them back...  Good luck.  Perhaps you could use the same
technique in global.asa to move the session variables over through the use
of fancy cookies and such.  Perhaps push the session variables to cookies
and have cf capture those cookies...

Good luck.  I'm trying the same thing with .NET right now.  



-Original Message-
From: Kevin Derby [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 1:07 PM
To: CF-Talk
Subject: Pass content to/from ASP page


What's the most effective way to pass variable content between a CFM and ASP
page?  In the same vein, is there any way for CFM to see ASP/IIS session
variables, or is that exclusive to asp.dll?

Kevin


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists