Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect.NET Authentication Add-On Support Archives (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect.NET Authentication Add-On Support Archives
Subject Info: Redirecting Users A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
dododi
New User
New User


Joined: October/07/2004
Location: Australia
Online Status: Offline
Info: 13
Added: June/13/2007 at 9:50pm | IP Logged Quote dododi

I am building a site that is using a .net 2.0 CMS and I am wanting to integrate aspprotect.net into it.

The client has three main target markets retailers, suppliers and internal. Each would ideally have their own login pages.

Is this possible? From a quick look it appears that there can only be one login page, aspplogin.aspx. Is this right?

Once the user has logged in they need to be redirected to their particular page where they can then download reports specific to them. These pages are in aspx created by the CMS? They use templates so I can place any necessary code in them.

Will the redirect section in aspprotect v7 allow this to occur?

I have used your product with the same CMS for another client and it worked great. In that instance it was redirecting to a generic page.

Thanks,

Stuart


Back to Top View dododi's Profile Search for other info by dododi
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: June/13/2007 at 10:06pm | IP Logged Quote cwilliams



Yes, redirection does not come in to play when using the .NET Add In. If you enter something in the classic asp database that database field is ignored. It is one of the few features that couldn't make it over.

Regardless, whether using ASP or ASP.NET you can redirect people wherever you want after login just by checking who they are via the session variables and then using basic redirect statements to send them wherever. Nothing complex and you have all the control in the world becuse it's your code.

As for one login page in the .NET Add ON. That is how forms based authentication in .NET works.  It's not really one login page. You go to any protected page and ASP.NET sends you to the login page as specified in the web.config file... ASP.NET automatically feeds it the url of the page you started at via querystring.... then after login you end up at the initial protected page.. it is built in .NET stuff.

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com