Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Programmatic Form Posting
Previous Previous
 
Next Next
New Post 9/29/2006 2:58 PM
User is offline David_EC
1 posts
10th Ranked


Programmatic form Posting 

Hello, I hope y'all cdan help me. 

I need to have a page on a DNN4.3.5 site programmatically post some form data to another website (not one of ours).

The idea is that the user is already logged into DNN, so we look up who they are, then check a table for the user name and password for the outside site.  We take that information and POST it to the other sites login procesing script.

The I need to display the response of the other site in a pane in DNN.

I have already created a 'proof of concept' html file for posting data to their server, it works:

<form METHOD=Post Name="loginscreen" Action="http://someserver.com/login.asp">
<TABLE><TR><TD colspan=3>&nbsp;</TD></TR>

<TR><TD colspan=3>Enter your login and password:  </TD>  </TR> 
 
<TR> <TD>Logon:</TD>  <TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD><INPUT TYPE=TextName=useremail></TD> </TR> 
 
<TR> <TD>Password:</TD> <TD>&nbsp;</TD> <TD><INPUT TYPE=PasswordName=userpassword</TD></TR>   
  
 <TR> <TD colspan=3 align=right>
      <INPUT TYPE=submit Name=Ok Value="OK">
      <INPUT TYPE=Button Name=Cancel Value="Cancel"> 
 </TD>
 </TR> </TABLE> </form>

When I load that page in a browser, enter appropriate username and password, it goes to the site, posts, and I get a message on my browser saying I am logged in. 

Then a javascript pops open a new window containing the web applciation I've logged into.

Any ideas on how I can replicate all this behavior in DotNetNuke?

Thanks A Lot

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Programmatic Form Posting
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP