Sign in to ASP.NET forum from non-forum page - asp.net

I have an Umbraco (ASP.NET CMS) website. Inside this website I have created a directory called 'forum' and into that directory I have installed 'JitBit' ASP.NET forum. The 'forum' folder in my site is running as an application in IIS as per the forum documentation. It works great.
So to be clear, my website and forum are on the same domain e.g http://www.example.com and http://www.example.com/forum.
Now I want to have a log-in form on the website homepage, containing 'username' and 'password' fields which posts to the forum and signs the user in. There is no membership system on the main website, just the forum, but I'd like users to log in to the forum from the website homepage.
It seems that JitBit forum uses ASP.NET webforms, and the log-in form on the forum homepage posts to itself (just default.aspx) so my question is, can I post to a webforms page somehow from a non webforms page and get this log-in to work? I've tried the obvious simple HTML post from the homepage, using the correct username and password input names, but that doesn't work. Is there a way to make this work or do I have to build a membership system on the main website and cross-authenticate when a user gets to the forum?
Many thanks for any pointers.

I solved this adding value="Request.Form["Username"]" and value="Request.Form["Password"]" in the log-in input fields in the forum masterpage, then injecting some JavaScript to submit the log-in form on page load if those two values are present (if the log-in form has been posted). It's a little bit of a hack but works nicely.
I couldn't do anything with usercontrols as per #user3771965's suggestion as the parent site is MVC and I don't have source to the forum.

Related

Why is my WP website redirecting the register page, to the login page

I have somewhat recently become the admin for a friend's website. When I came on he had about 80 different plugins and I have recently gotten rid of a lot of the useless one. The website was working perfectly fine afterwards. Then I found out (a bit before the WordPress 5.5 update) that the register page wasn't working properly. I went ahead and cleared a lot more things and have been troubleshooting it nearly everyday. The website is now at the point where you can go to the login page, but attempting to go to the register page will redirect the user back to the login page. If I visit as an admin I can access the page, but the form displays the text that I am already registered (correctly, but not useful).
The plugins that are currently enabled related to logins are: Ultimate Member, Gamipress, Jetpack, Loginizer, and various Gamipress and Ultimate member integration plugins. If you want to see the site for yourself you can find it here:
https://www.plagueleague.com/
I cannot comment for more information, so I use the answers... In admin, then "Settings", then "General", does the box "Membership: Anyone can register" is checked? If the answer is no, I think that redirects to the login page.

How to set a login page to see the website in wordpress?

i'm a beginner and I'm trying to set a login page on my website build in wordpress. Searching on google I don't find a solution for my issue. There are a lot of plugins that customize the login page in wp-admin to acces at the backend. What I'm trying to do is different. I'd like to put a login page at my website www.example.com (home page) and after the user has insered the credentials, he can see everything on the website. I don't know how to start. Every suggests are appreciate. Thank you in advance
If you're ok with using WP users table and auth systems you could put template content inside a conditional to check if users are logged in.
It isn't elegant but it would get you what you want.

I have two master pages for admin it is different and user is different but if user copy & paste the URL he can find the page information

I have two master pages in a Three Tier Architecture project.
For admin it is different and for user it is different but if user copy & paste the URL he can find the page information.
Give me a solution please..
You need to keep the user type in session after login. And on the particular page check the user type.
If not matching found redirect to login page.
or
broader solution is you need to implement Role Management of asp.net.
MSDN Link
Some useful links
Admin role management in ASP.NET website
http://www.codeproject.com/Articles/667152/Role-Providers

Drupal webform location?

I am working on adding content to an existing site, and I can't figure out how to connect different web forms to different specific pages.
example: http://network.awcbn.com/3blindmicewindowcoverings
I need to replicate this page for other companies listed on the same site. But each webform will be on a different "basic page" and will be sent to a different email address.
I know virtually nothing about coding, and I'm wondering if this can just be done in the webform settings or drupal admin settings. without having to "pop open the hood" and mess with the code?
Basically I just don't know how to place a specific webform on a specific page. Does that make sense?
There's a great module for that called webform:
http://drupal.org/project/webform
When you create a node of type webform, there's a subtab under edit for configuring the fields, email messages, etc. Documentation is here:
http://drupal.org/documentation/modules/webform

How to implement SSO with Joomla?

We have following scenario. We have 2 websites one is in asp.net and 2nd in Joomla 1.5.
We want SSO from Joomla to ASP.Net site. Integration Flow as below:
1) Joomla site will have Menu Item named with "Join ASP.Net Site"
2) When Logged in User clicks on the Link we need to pass URL along with Logged in UserName in Joomla
E.g. www.abc.com?username=MNP (here, MNP is username of the Joomla user who has clicked the link.) if user xyz is logged in then we need link as
www.abc.com?username=xyz
cCn somone provide the help how to create this?
Thanks
Regards
Jigar Shah
Now, my question is that
Look at CAS from ja-sig which has clients for both .Net and for PHP
Joomla has a CAS authentication plugin.
Wiki docs at https://wiki.jasig.org/display/CASUM/Home

Resources