Solved

Passing Values from ASP Page to Cold Fusion Page ??

Posted on 2002-04-01
5
164 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
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 25 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Firewall Speed Issue 6 60
LAMP problem identifier tool ? 9 102
question about access to website 2 56
System Analysis 5 41
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now