Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:637057
More Search Options
RSS Available
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!
Posted to
VS 2005 Web Application Projects
(Forum)
by
drpcken
on 7/27/2009
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
Posted to
VS 2005 Web Application Projects
(Forum)
by
drpcken
on 7/23/2009
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
Posted to
VS 2005 Web Application Projects
(Forum)
by
drpcken
on 7/23/2009
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
Posted to
VS 2005 Web Application Projects
(Forum)
by
drpcken
on 7/23/2009
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 { .... } }
Posted to
VS 2005 Web Application Projects
(Forum)
by
drpcken
on 7/23/2009
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 »
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
Channel 9:
Channel 9 Live at PDC09 Kurt DelBene
Channel 9:
Channel 9 Live at PDC09 Mike Anguilo
Channel 9:
Channel 9 Live at PDC09: Dean Hachamovitch
Channel 9:
Channel 9 Live at PDC09: Gary Flake
Channel 9:
Channel 9 Live at PDC09: Mark Russinovich and Patrick Dussud
Channel 9:
Ping 40: Black screen claims- retracted, Windows 7, Bing Maps, Office 2010
WindowsClient:
WPF Touch Basics
WindowsClient:
WPF Touch Basics
TechNet Edge:
AlignIT IT Manager Podcast #32: Agile Application Lifecycle Management
Channel 9:
Bharat Shah: Microsoft Online Services Overview
WindowsClient:
Holland America adds Surface to several ships in it’s new Mix lounge
ASP.NET:
RIA Services Link Listing #1
Channel 9:
Reactive Extensions API in depth: Merge
TechNet Edge:
Forefront Protection for Exchange customer story
WindowsClient:
Windows Client Developer Roundup for 12/7/2009
WindowsClient:
Introducing the new Bing Maps beta
ASP.NET:
My Presentations in Europe (December 2009)
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online