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  |  

telerik -- supercharge your DNN websites
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Create new user account with API
Previous Previous
 
Next Next
New Post 7/6/2008 3:00 PM
User is offline Vlado
29 posts
10th Ranked


Re: Create new user account with API 

Michael,

I surly appreciate the code. This is what I was looking for days. Easy enough. It works fine. Thanks a lot.

Vlado
 
New Post 7/8/2008 5:01 PM
User is offline Vlado
29 posts
10th Ranked


Re: Create new user account with API 

After I successfully created a new user I need to make him log in. I used without problems following:

 

UserController.UserLogin(PortalID, objUser, PortalSettings.PortalName, GetIPAddress(), False)

 

But the Request.IsAuthenticated shows False until I refresh the page. I do not want to do it because I would lose information in my TextBoxes.

 

Is there any other way to get athenticated than using

Page.Response.Redirect(Page.Request.Url.ToString(), True) ?


Vlado
 
New Post 7/8/2008 5:15 PM
User is offline Michael Washington
2842 posts
ADefWebserver.com
5th Ranked










Re: Create new user account with API 

If your code logs the user in, why do you care about "Request.IsAuthenticated"?



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 7/9/2008 12:00 PM
User is offline Vlado
29 posts
10th Ranked


Re: Create new user account with API 
I have a wizard module with some input components and a “Next”  button there. In same stage of the wizard if the user is not registered I want to show him 2 basic registration/login input boxes (email & password – his user and other names will be email)  so when he clicks Next it would register and log him in automatically. If he registered before it will just log him in with those credentials. If he is already authenticated there will be no input boxes there just the Next button. So if he clicks Next the wizard will continue do the business and I would have all the input boxes text on the form. If I refresh the form in that step it returns the user to the first step. I just did not want to remember all the input and reload it. Does it make sense?

Vlado
 
New Post 7/9/2008 1:55 PM
User is offline Michael Washington
2842 posts
ADefWebserver.com
5th Ranked










Re: Create new user account with API 

Yeah the only thing I can think of is to use the redirect but pass a parameter which can tell the page which wizard step to start on.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Create new user account with API
 


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.

 


Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com

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