CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 10/16/2007 7:07:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 99 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
mihaibig
Asp.Net User
forms authentication with different register page10/16/2007 7:07:17 PM

0/0

Hello,

 I'm trying to build a website that uses forms authentication. However i want to use a separate page for registering new users. How is this possible?

 

Thanks
 

docluv
Asp.Net User
Re: forms authentication with different register page10/16/2007 7:59:53 PM

0/0

Just create the page with your fields in it. If you want to automatically authenticate them on the site after you have verified their data and stored it then you would just call :

FormsAuthentication.SetAuthCookie(UserName, False)

Then you will want to direct them to the next page in the process flow.


Chris Love
mihaibig
Asp.Net User
Re: forms authentication with different register page10/16/2007 8:07:27 PM

0/0

so i have a login page with a lot of stuff around. imagine lets say yahoo mail. you have a page with login controls but if you need to sign up you are being redirected to a completely different page with lots new stuff to fill in. basically i want the same thing except that i'm using the form authentication witch does not allow me to redirect the user to another page as long as  he is not authenticated.

maybe i miss something, it could be since i never wrote code to do any authentication.

 Thanks
 

XiaoYong Dai –
Asp.Net User
Re: forms authentication with different register page10/18/2007 7:30:39 AM

-1/1

mihaibig:

i want the same thing except that i'm using the form authentication witch does not allow me to redirect the user to another page as long as  he is not authenticated.

 
Hi

Have you restrict user in web.config like this?

<location path="MyProfile.aspx">         <system.web>      <authorization>

            <deny users="?"/>

      </authorization>   </system.web> 

</location>

Please follow the step-by-step tutorial in this article, this might help you understand how to use forms authentication in website

http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx


Best Regards
XiaoYong Dai
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Core Internet Application Development with ASP.NET 2.0 Authors: Randy Connolly, Pages: 1049, Published: 2007
Beginning ASP.NET 2.0 E-commerce in C# 2005: From Novice to Professional Authors: Cristian Darie, Karli Watson, Pages: 681, Published: 2005
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Macromedia MX ELearning: Advanced Training from the Source Authors: Jeffrey Bardzell, Pages: 476, Published: 2002
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
PHP Solutions, Dynamic Web Design Made Easy: Dynamic Web Design Made Easy Authors: David Powers, SpringerLink (Online service, Pages: 0, Published: 2006
Professional ASP.NET 2.0 Security, Membership, and Role Management Authors: Stefan Schackow, Pages: 611, Published: 2006
Dreamweaver CS3 For Dummies Authors: Janine Warner, Pages: 434, Published: 2007

Web:
Excluding Registration Page from Forms Authentication Since we have implemented Forms Authentication for the website, even the Register.aspx page would require logging in. To avoid the Registration page from ...
Registration WebPart for Forms Authentication SharePoint 2007 sites Registration WebPart for Forms Authentication SharePoint 2007 sites ... 4, Wrap it all up into a Feature with a registration page (makes it a nicer install ...
Excluding a page from ASP.NET forms authentication Asp.net form authentication is fantastic. I want to place a link on the Login page to a “Register for this web site” page (register.aspx) . ...
forms authentication - ASP.NET Forums i have login page with forms authentication....in my login page, ... When you say registration Functionality etc..do you mean links to different page or it ...
How To: Use Forms Authentication with Active Directory in ASP.NET 2.0 Use the ActiveDirectoryMembershipProvider with forms authentication. ... and new users can use the logon page to register and create new accounts. ...
Dr. Dobb's | ASP.NET Forms Authentication Best Practices ... Of the two users who said they specify a different password for every site, .... Clicking on the Register link from the login page brings you to a form like ...
Forms Authentication Against SQLServer :: DotNetJohn Forms authentication is flexible in the authorities against which it can ... have a registration page to allow users to register their login details which ...
microsoft.public.dotnet.framework.aspnet.security: Re ... Then the users do not have to find the login page themselves... ...
Installing Forms Authentication Extension - Community Server If your authentication application exists in a different IIS application than Community Server (for example, if your login page is at ...
Mart Muller's Sharepoint Weblog - Registration WebPart for Forms ... Sep 28, 2006 ... Registration WebPart for Forms Authentication in MOSS 2007 ... You could add the CreateUserWizzard to a page with SharePoint Designer, ...

Videos:
Leveraging India As India Stands Up Google TechTalks May 25, 2006 Ashok Jhunjhunwala Prof. Ashok Jhunjhunwala is Professor of the Department of Electrical Engineering, Indian Institute...
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...
Badvertisements: Stealthy Click Fraud with Unwitting Accessories Google Tech Talks September 19, 2006 Dr. Markus Jakobsson, Associate Professor of Informatics at IUB Associate Director of CACR ABSTRACT We descri...
How To Break Web Software - A look at security vulnerabilities in web software Google TechTalks April 13, 2006 Mike Andrews Mike Andrews is a senior consultant who specializes in software security and leads the web application...




Search This Site:










dnn roadmap

tree view creation

dynamically show/hide a module

faq answers tto appear when clikcing on the question

issue 3.0.x - creating a portal using default template throws and exception

datareader + output params

pass username as query string

help with dotnetnuke install

add style sheet to text/html module content

debug problem wde.

cannot do anything with an access-exported xml file in asp.net but view it.

manually input a value into a drop downlist box

vb.net console application vs. windows application

remember login details

virtualpathprovider, cachedependency and the worker process

login control - beta 2

import utilities? infopop to dnn?

c# 2005 or vb.net 2005 list box question

how to convert a hardcode to database driven

is there a file download module for dnn 3 / 4 asp 2.0??

i want to use numbers & letters to query database

changing system.web.mail to system.net.mail

tutorial on collection

menu control and the css "a:link" pseudo-classes (repost - asked by multiple users)

temperary solution

send email registration

wizard sidebartemplate

hyperlink and literal control

learning forms extensively

ssl best practice, how to set up the web app structure................

 
All Times Are GMT