TK,
We have sample code for that in the following articles:
312906 HOW TO: Create Keys by Using Visual C# .NET for Use in Forms
http://support.microsoft.com/?id=312906
313091 HOW TO: Create Keys by Using Visual Basic .NET for Use in Forms
http://support.microsoft.com/?id=313091
Note that these articles refer to Forms authentication, but the same
applies to any use of the <machineKey> element.
Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
From: "TK" <tk****@nospam.emotionalbits.com>
Subject: machineKey values: how?
Date: Fri, 16 Apr 2004 15:24:48 +0900
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <ej**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: q255060.ap.plala.or.jp 220.99.255.60
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:226043
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
How can I get my unique key values for the "validationkey" and
"decryptionkey" attributes in a <machineKey> element in my web.config?
Is there any tools I can use for?
Any input would be highly appreciated.
TK