Search

You searched for the word(s): userid:637057

Matching Posts

  • Encrypting value for querystring

    I have a password field in one of my tables that is encrypted. When they first create the account , it inserts their record into the table, generates a random password, encrypts it, and emails them a URL with then encrypted password that they click to verify the account. Once they click the link they are required to change their password (which also encrypts this and stores it the table). For example the encrypted password would look like this in the querystring: HJ3/ezL+tR25A4CN9zEZnsTMchMX3H67ZYYgC96V1Ok
    Posted to Security (Forum) by drpcken on 8/12/2009
  • Re: Encrypting value for querystring

    I already tried the Server.UrlEncode but it takes my = characters and makes them %x or something, which also doesn't match.
    Posted to Security (Forum) by drpcken on 8/12/2009
  • Re: Encrypting value for querystring

    Unfortunately none of these suggestions worked. What I'm doing is generating a random password, then encrypting it. The encrypted password would look something like this: jAE196dLzDzPil6g2Wo5ABRDRR+3QztdbdMdbDhA6/8= I'm not storing it in the querystring to authenticate a user for an entire session. I'm only storing it there when the account is created. It's generating a random password for them, encrypting it, and emailing it to them in a query string like this: http://localhost/verify
    Posted to Security (Forum) by drpcken on 8/12/2009
  • Re: How do I display database result in a html table

    Could you just bind it to a GridView?
    Posted to Getting Started (Forum) by drpcken on 7/27/2009
  • Re: Converted my WebSite into a WebApplication, having problem with an extension class

    Thanks for the reply. I indeed did try that but got no results. I ended up putting the extender class inside of a class library and referencing it in my web application and that worked. I'm not sure why I couldn't do it the other way with a class inside my project. Thanks for the suggestion though!
  • Converted my WebSite into a WebApplication, having problem with an extension class

    Ok so I have a project I created a year ago but I created it as a WebSite. After learning some new things I discovered I really wanted it to be a WebApplication instead. Following these steps http://weblogs.asp.net/meligy/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx I converted everything and it went pretty smoothly. But I have this one class that I created in my App_Code folder of the old project that extends the gridview for more functionality. I cannot get it to work since
  • Re: Converted my WebSite into a WebApplication, having problem with an extension class

    I think the problem is bigger than just the extender... I tried to open my login page in IE and I'm getting the following error (happens on all my pages): Parser Error Message: Could not load type 'login'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" Inherits="login" Codebehind="login.aspx.cs" %> It seems ddddtLine 1: <%@ Page Language="C#" AutoEventWireup="true" Inherits="login" Codebehind
  • Re: Converted my WebSite into a WebApplication, having problem with an extension class

    Ok I think the problem had to do with the page that had the grid extender did not convert. I removed the entire page from the project and everything worked. I'm guessing I'll have to recreate the page (which isn't a problem). One more question though: When I converted it to a web app it made the App_Code folder into Old_App_Code and put all my classes into it. Is it ok to move my classes from this folder and put them into a different folder (such as Classes) or even a separate class library
  • Re: Converted my WebSite into a WebApplication, having problem with an extension class

    Seems as if I can't register my extended class in any pages since I converted from a Web Site to a Web App. Is there a different way of doing it in a web app vs a website? This class is in my Old_App_Code folder that was originally the App_Code folder when it was a website. Here's the jest of the class: namespace MyControls { public class GridViewExtension : GridView { .... } }
  • Re: Using reflection to assign control value property a data column name...

    Ok I think I just about got it using this code, but when I'm trying to get the type of the datacontext property (string, datetime, int32, etc...) it returns 'System.Runtime'. DentalPlansForContact dp = new DentalPlansForContact(); Type dbType = dp.GetType(); foreach (PropertyInfo field in dbType.GetProperties()) { if (field.Name.ToString() == "id" || field.Name.ToString() == "ContactID") { continue; } else { Type columnType = field.Name.GetType(); //Trying to get TYPE
    Posted to C# (Forum) by drpcken on 7/7/2009
Page 1 of 35 (342 items) 1 2 3 4 5 Next > ... Last »