Signin.ascx module

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/24/2006 12:51:30 AM
Gravatar
Total Posts 19

Signin.ascx module

Hi Joe,

The /Secure/Login.aspx works fine but Signin.ascx module doesn't work. I'm using asp.net v. 1.1.

Any idea on how can we fix that?

-thanks

Thanh

5/24/2006 7:15:43 AM
Gravatar
Total Posts 18439

Re: Signin.ascx module

Hi Thanh,

The signin module is a legacy module, it is not intended for current use, I just haven't removed it yet but I plan to remove it. It was replaced by the login page.

Joe
5/24/2006 9:03:05 AM
Gravatar
Total Posts 19

Re: Signin.ascx module

Hi Joe,

I need the signin.ascx module because I'd like to add the login form as a module in a page.

Could you please suggest how I can fix the signin module som that it works.

Thanks

Thanh

5/24/2006 9:15:50 AM
Gravatar
Total Posts 18439

Re: Signin.ascx module

Hi Thanh,

I would suggest first to rename it so you don't lose it if you update from svn after I remove it.

To make it work you would need to look at the logic in the login page and make it the same in the signin module.

One thing to be aware of though is later if you ever upgrade to the 2.x branch of mojoportal, the login logic has changed completely to use the new membership api so any work you do in your custom signin module will have to be re-done at that point.

Originally the signin control was in the skin and displayed on every page if the user was not logged in.

One of the reasons I decided to use a login page instead of the signin control is because I can easily force ssl on the login page without requiring ssl on other pages. If you put the signin module on multiple pages it won't be very secure unless every page you put it on requires ssl

Hope it helps,

Joe
5/26/2006 12:49:24 AM
Gravatar
Total Posts 19

Re: Signin.ascx module

Can I just convert login.aspx to a user control? will this idea work?

thanks

Thanh

5/26/2006 12:09:57 PM
Gravatar
Total Posts 18439

Re: Signin.ascx module

Yes it might work but I recommend you don't do that.

As I said before I recommend you copy the logic into the signin control instead and rename it to be your own custom module.

If you change things that are part of the core of mojoportal you won't be able to update to future versions very easily.

Joe
You must sign in to post in the forums. This thread is closed to new posts.