?
Solved

Passing Values from ASP Page to Cold Fusion Page ??

Posted on 2002-04-01
5
Medium Priority
?
174 Views
Last Modified: 2013-12-24
Hi,

My requirement is after the user enters the Userid and Password from the Login ASP Page (say Login.asp)he
must be validated and if the validation is success he must be taken to the Cold Fusion Home Page ( say
Home.cfm) with the Userid and Password values passed to it ( these values should not be passed via URL
due to security reasons).
Pls. do suggest how to achieve this, if u have any code pls. do send us.

I was able to achieve this by passing the values thru. URL, but I want to achieve this without passing
thru. URL.

Thanks in Advance,
Rajesh
0
Comment
Question by:Thinkpad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Expert Comment

by:winningl
ID: 6910272

pass it through form hidden variables.

<form name="test" action="home.cfm" method="post">

<input type="hidden" name="userid" value=asp_userid>

<input type="hidden" name="password" value=asp_password>

</form>


winningl
0
 
LVL 19

Accepted Solution

by:
cheekycj earned 100 total points
ID: 6910306
besides the above approach mentioned there are two other ways.

You can post to a CFM page from the ASP page (the form vars) and CFM can create a session var to state that the person is logged in.

Or use a cookie that is accessible to both pages that is a hash or an encrypted version of userid and password that the each script can decipher and use.

CJ
0
 

Author Comment

by:Thinkpad
ID: 6911965
The thing is I've to validate the Username and Password in the ASP Login Page itself by checking in the Database and after successfully check I've do another select and based on that I've to direct to Home page CFM's ( say Home1.cfm or Home2.cfm).
0
 
LVL 5

Expert Comment

by:Yog
ID: 6912171
execute the coldfusion page for validity using xmlhttp, get the result to the asp page and then do a query and send it back..works only with ie5 and above
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 9297443
Thanx for the "A"

CJ
0

Featured Post

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question