Scratch that. I figured it out. Thanks for the help! On a side note, I also figured out what my initial problem was. I forgot to wrap my database code in if (Page.IsValid)
How would I use a CompareValidator to check if an input is numeric? I am not comparing the input to any other control.
I am kind of new to this, sorry.
I have a form that requires the input of text (such as name, email) and the input of numbers as well (such as salary). For fields that require a number, I need to use a custom validator to verify that the input was indeed a number and not random text. At the same time, when the submit button is...
So I need to dynamically redirect from HTTP to HTTPS on some of my web pages, and it's a really frustrating process.
I found this site: http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx
I can't seem to make it work for my site though... I don't really know what to do with the...
I'm creating a website that will have some pretty sensitive information, so I want to buy an SSL certificate. Should I buy it from VeriSign or GoDaddy? I'm honestly a little confused.
I'm using the Session.Add command to track the login status of members on my website.
E.g.
Session.Add("LoginState", "true");
Is this the proper way to track login status, or will it slow down the site?
Also, where do I store the credentials of members? For example, in certain parts of the...
I'm using a Login control with custom authentication that works off my existing SQL database. I have two things I need help with:
1. When the user logs in successfully, I use Session.Add("LoginFlag", "true") to keep track of the user's login status. Is this the proper way to do so? Or is there...
I have a website which allows users to login. When members are logged in, they can see a button for editing their profile. When they click the edit profile button, a bunch of labels and text boxes are displayed. These textboxes are populated with their info from the SQL database and when they...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.