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.
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.
I need a page to register a new user (mymodule \ Page1.aspx) with custom fields, followed by a page to pay a subscription with paypal (mymodule \ Page2.aspx).
In page1.ButonOK_Click (), I have :
If MyCustomControlValues then ' Retrieve and test the controls values
siteUser = New SiteUser (Sitesettings)
siteUser.Name = myName
siteUser.LoginName = myLoginName
siteUser.Email mymail =
siteUser.Password = myPwd
ret = siteUser.Login (Sitesettings, mymail, myPwd)
When I run the site, Page1 work fine, create a record in mp_Users and mp_UserRoles and redirecte to (module)Page2.aspx
But In page2, the folowing code return false:
If Request.IsAuthenticated then ...
Thank you for your help
bool persistentCookie = false;
Hope it helps,
Thank you, thank you, thank you
I was looking for the solution for 4 days!
I bought you a beer.
As we say in France: tchin tchin
Glad to be of help and thanks for the beer! Much appreciated.