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  |  

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


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Direct Login URL
Previous Previous
 
Next Next
New Post 10/11/2007 3:50 AM
User is offline Latiful Khan
3 posts
10th Ranked


Direct Login URL 

Hi,

I am trying to write a function which will return a direct login url, I mean by using this link user will be able to login to DNN site, they do not have to type login information. User name and password will be hardcode with the url.

So to achive this I am creating one webpage, for example AnotherLogin.aspx and URL will be something like, http://www.test.com/AnotherLogin.aspx?username=test&password=password. Now when user will click the link then into the page_load I am collecting login details., eg., username and password and calling DoLogin method

private void DoLogin(string username, string password) {

// Use DNN API to authenticate user

.................. NEED HELP HERE ............................

// if ok then forward to http://www.test.com

// or forward to http://www.test.com/LoginError.aspx

}

Can anybody tell me how can I do this? Is there any method/s I can call, which will not only authenticate user, but also will behave same as normal DNN login (when user manually providing login details and clicking login button).

Thanks for any reply.

 

 

 
New Post 10/12/2007 7:07 AM
User is offline Mitch Sellers
5566 posts
www.mitchelsellers.com
3rd Ranked




Re: Direct Login URL 

I don't have it all infront of me right now, but have a look at the code in the signin.ascx control (It might be called something different in 4.6.0...


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 12/4/2007 12:51 PM
User is offline b471code3
116 posts
www.froggeyestudios.com
9th Ranked


Re: Direct Login URL 

Have you found a resolution for this?

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Direct Login URL
 


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