Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
chrisf1616 #1
Pass session info between Coldfusion and ASP
I have one website that is Coldfusion and one that is ASP. At this time, it is
not feasible to rewrite the ASP page to CF.
The Coldfusion page requires a login and sets session variables. Once logged
in, users have a link to the ASP page. I want to pass the CF session
information to the ASP page so users don't have to log in again. Can anyone
tell me how to do this?
Thanks,
c-
chrisf1616 Guest
-
Pass FlashVars to ColdFusion page
Hi, Is there a way to pass FlashVars values from a .swf file to a ColdFusion page ? I've got a page with a calendar, I select a date and post... -
Unable to pass session var between app pages
I'm having trouble passing a session variable from a form page to multiple action pages. The form page points to the first action page, but I'm... -
pass info accross multiple domains - is it possible
Hi I'm trying to pass some information accross multiple domains (there's a twist to this particular situation that makes me wonder if this is... -
Pass Session Variable Value to Crystal Report?
I've got an aspx page that allows the user to select different options whenever they want to run a report. On this page, I have added an... -
IS it better to use session variables or pass a URL variable
Yes, I am sure the answer starts with - It depends... Well, I am trying to get a person's name from one page to the next. The name will obviously... -
philh #2
Re: Pass session info between Coldfusion and ASP
Hi Chris,
[CAVEAT PROGAMOR: untested code follows]
Your transition page (which is what the link should point at) can be a form
that has hidden fields populated with the necessary session info from CF.
<form>
<input type="hidden" name="sessionvarname1" value="#session.sessionvarname1#">
[and so on....]
Next, put a bit of Javascript at the end of the form page that automatically
submits the form to the ASP side of the house.
In the global.asa of your ASP app, add a section that grabs the fields and
sets the session vars:
<script language="VBScript">
if (request.servervariables(HTTP_REFERER) = TheURLoftherequestingpage) then
session("sessionvarname1") = request.form("sessionvarname1") [and so on...]
end if
</script>
HTH,
philh Guest
-
jorgepino #3
Re: Pass session info between Coldfusion and ASP
can you save the session variable as cookies?
jorgepino Guest



Reply With Quote

