Sorry for the delay in replying.
Basically, users register, and a link is sent to their email for email confirmation. The user's details are stored in a SQL database and their password hashed.
The site will allow for students to upload their work to their university lecturer. No money at all is involved.
So, if my understanding is correct, I should opt for 'enabled'?
Thanks again
User Profile
Collapse
-
Many thanks for your reply, Luuk.
The project is part of Microsoft's Membership Identity and will need to take https and not http, but no important personal details, such as bank details, are required in any form transactions.
I will see how it goes then!
ThanksLeave a comment:
-
Enable SSL in Web.config?
Hello
I have changed my ASP.NET from version 4.0 to 4.6.1 in Visual Studio 2017. Also in Visual Studio 2017, I have enabled SSL through my project's Properties panel.
I have noticed, however, that in my project's Web.config file, it says:
Code:<security requireSsl="false"
Thank you. -
Database with Identity in VS 2017
Hello
Can ASP.NET Identity be configured using only a SQL Server database to store user names, passwords, etc, and not a MS Access database?
Thanks -
What's wrong with this authenticate user code, please?
I have the following code but get a 'log on denied' error even though I know the user and password are correct.
Code:Private hashed As String Protected Sub LogonBtn_Click(sender As Object, e As EventArgs) 'Dim hashedPassword As String = Crypto.HashPassword(hashed) Dim hashedPassword As String = Crypto.HashPassword(passwordTextBox.Text) 'Authenticate user
-
Errors in Visual Studio register.aspx file
Hello
I am getting the following compilation error in my register.aspx file:
C30456: 'GetOwinContext ' is not a member of 'System.Web.Htt pContext'.
This is my code:
Code:Protected Sub CreateUser_Click(sender As Object, e As EventArgs) Dim userName As String = Email.Text Dim manager = Context.GetOwinContext().GetUserManager(Of ApplicationUserManager)()
-
Role of DotnetOpenAuth.Core file?
Hello
Can I ask, please, what the DotnetOpenAuth. Core, etc files do (Bin folder and Packages), and how would I know if my site depended on them?
Thanks -
Error trying to install NuGet package in VS 2017
Hello
I am trying to install Install-Package WebHelpers and Install-Package System.Web.Help ers.Crypto via NuGet in Visual Studio 2017 but get the following errors respectively:
Install-Package : Project 'Default' is not found.
At line:1 char:1
+ Install-Package WebHelpers -Version 4.0.2
+ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Default:String )... -
-
What would I declare hashedPassword, please?
In the following, please, what would I declare 'hashedPassword ' as?
Code:cmd.Parameters.AddWithValue("@username", username) cmd.Parameters.AddWithValue("@strEmail", email) Dim hashedPassword = Crypto.HashPassword(password) cmd.Parameters.AddWithValue("@hashed", hashedPassword) connection.Open() cmd.ExecuteNonQuer
-
Error: attribute name must be followed by an equals (=) sign and a value
Hello
I am getting a green underline error in VS2017 with this line of code:
Code:<a data-scroll class="btn btn-start animated fadeInUpBig" href="#services">Start now</a>
-
Parameter @uniqueCode has no default value
Hello
How would I determine, please, if this line is returning a Nothing value as I am getting the following server error: 'Parameter @uniqueCode has no default value'
Code:cmd.Parameters.AddWithValue("@uniqueCode", Convert.ToString(Request.QueryString("uniqueCode")))
-
How to join these 2 lines
Hello
How would I join these 2 lines of code, please?
Code:cmd.Parameters.AddWithValue("@uniqueCode", Convert.ToString(Request.QueryString("uniqueCode"))) cmd.Parameters.AddWithValue("@strEmail", Convert.ToString(Request.QueryString("strEmail")))
-
How to personalise 'thank you' message?
Hello
I have the following as part of my Contact.aspx.vb file:
Code:Protected Sub SendEmail_Click(sender As Object, e As System.EventArgs)
Code:pnlFormFields.Visible = False pnlThankYouMessage.Visible = True End Sub
Code:<asp:Panel
-
myMessage.body question
Hello
In the following SMTP code, have I coded myMessage.Body correctly, please?
Code:myMessage.From = New MailAddress("info@mysite.net") 'Webmaster's email myMessage.To.Add(New MailAddress(strEmailValue)) 'user's email myMessage.Subject = ("Password Reset Request") 'myMessage.Body = "Please click on the following link to reset your password: <br/>Link<br/><br/>Thank
-
Thanks, Luuk
I didn't know that.
Sorry for the delay in replying - I was disconnected.
RegardsLeave a comment:
-
Authentication is required for relay
Hello
I am getting the following error on a forgotten.aspx page:
http://www.dimadayoub.net/forgot.aspx
Mailbox unavailable. The server response was: Authentication is required for relay
This is the code I have:
Code:myMessage.From = New MailAddress("info@mysite.net") myMessage.To.Add(New MailAddress(strEmailValue)) 'user's email myMessage.Subject
-
Error in email code
Hello
When I debug my SMTP code, which is not sending a form, I get the following:
Troubleshooting Exceptions: System.Net.Mail .SmtpException
- The exception that is thrown when the SmtpClient is not able to send a Send
System.Net.Mail .SmtpException was caught
HResult=-2146233088
Message=Error in processing. The server response was: Greylisted, please try again in 180 seconds... -
Correct path to image in Solution Explorer (VS 2013)?
What is the correct path please to reference an image that is held in my Images folder in VS 2013? This does not work:
Code:<img src="Images/image-slider-2.jpg" width="450" height="450" alt="" />
Code:<img src="/Images/image-slider-1.jpg" width="450" height="450" alt="" />
Code:<img src="~/Images/image-slider-1.jpg"
No activity results to display
Show More
Leave a comment: