You should still be able to extract that session information from the ASP
app.  

You need to write an ASP page which returns only a WDDX packet and contains
all the information you need.  If there are different scopes, you may need
multiple ASP docs; each one to return a specified scope of variables.

Then you call the ASP page from the CF template using CFHTTP, then use CF's
WDDX tags to parse CFHTTP.FileContent.

Hope that makes sense.  I've never been proud of the way I explain things :)


kevinf


-----Original Message-----
From: Shane Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 17, 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: RE: Question on Accessing Session Objects...


Well in looking at the ASP code side of things there are some session 
variables that I need to make available, not just URL stuff.





> Maybe this is way oversimplifying it, but can't you just do a form 
> post? What kind of variables are you passing?  If it could go into a 
> URL string, what i've done in the past is to just cfhttp to the asp 
> page, and include
> the output as a variable.  Something like so:
>  
> <cfhttp url="myAspPage.asp?foo=bar&something=somethingElse">
>  
> Then on the ASP page, I just write some plain text (wddx, xml, or just
> foo =
> bar, something = somethingElse) and use that however I need to on my cfm
> page.
> -----Original Message-----
> From: Shane Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 17, 2002 2:09 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Question on Accessing Session Objects...
> 
> 
> Ah so if I'm on the same page as you then all I would need to do is
> stick a
> little bit of asp code in the asp pages to detect and deserialize the 
> wddx
> and then maybe re-scope the variables into what ever the asp page was
> needing?
>  
> -----Original Message-----
> From: Hayes, Joseph [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 17, 2002 11:00 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Question on Accessing Session Objects...
>  
> Shane,
>  
>     I think I might have a solution for both of us... thanks to John 
> Beynon and a friend of his, I am on track now to solve the problem.  
> If you have access to the Advanced Application Development book by Ben 
> Forta, take a look at the section on WDDX.  In a nutshell, ASP can 
> create WDDX packets,
> and so can CF, so now all that needs to happen is to create the gate 
> keeper
> between the two to pass things back and forth.  The book takes a couple
> chapters to get through all of it, but it does look like the answer.  As
> soon as I have it worked out for sure, I will contact you and show you 
> what
> I did.
>  
> Joe
> -----Original Message-----
> From: Shane Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 17, 2002 1:38 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Question on Accessing Session Objects...
> I actually am faced with a need to go the other way, there is an 
> existing
> asp application and it does a lot of heavy lifting dealing with active
> directory and exchange. I want to just pass the variables it needs for 
> its
> processing to it but from a .cfm page.  I don't really know if its 
> possible
> but I'm hoping so because rebuilding the whole mother in cf isn't in the
> cards right now. 
>  
> -Shane
>  
> -----Original Message-----
> From: Hayes, Joseph [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 4:04 PM
> To: '[EMAIL PROTECTED]'
> Subject: Question on Accessing Session Objects...
>  
> I have a client that wants me to rewrite a portion of an 
> application...
> the
> problem is that the main application is ASP and they want me to start a 
> very
> slow conversion to Cold Fusion... well, I now have to deal with getting
> certain information from the ASP session.  Does anyone out there know 
> how to
> grab the ASP session from within a Cold Fusion page?
>  
> Thanks!
>  
> Joe
> 
> 
> 



Shane Johnson 
www.strangetactics.com 

Custom ColdFusion Programming
& General Website Development

Allaire Certified Coldfusion Developer
BrainBench Certified Coldfusion Developer

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to