?
Solved

Passing Values from ASP Page to Cold Fusion Page ??

Posted on 2002-04-01
5
Medium Priority
?
172 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
What You Need to Know when Searching for a Webhost Provider
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month9 days, 5 hours left to enroll

765 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