Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > ASP.NET 1.x and 2.0 Application Design
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 23rd, 2005, 09:33 PM
Registered User
 
Join Date: Jun 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default can i get back UserName after logon window dialog

i'm setting allow Digest authentication for window domain servers in IIS Authentication mode , so that i can display window login dialog when access the webform. The problem is can i get back the username (logi n name) and display at webform after login?

Thanks for ur all help!!

 
Old July 1st, 2005, 01:10 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Try setting the values to session variables then access those after authentication.

 
Old July 1st, 2005, 05:18 AM
Authorized User
 
Join Date: Feb 2005
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default

Hi,

    When he entered his name in user id text box you take it into a session variable like
session("UserID")=txtuserid.text

   When ever you want to display his name after logging in just use the following
Label1.text=Session("UserID")

   And in the last page don't forgot to specify
session.abandon()

Hope this Helps-Ashok Parchuri





Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing data from modal dialog to window. ganga Javascript 1 September 26th, 2006 06:45 AM
Modal Dialog window Problem anandham Javascript 7 February 16th, 2005 06:08 PM
download dialog problem in modal window jaisonkmathews Javascript 2 February 11th, 2005 08:57 AM
Modal dialog window eldanh ASP.NET 1.0 and 1.1 Basics 0 August 10th, 2004 02:07 PM
How to avoid logon window? raulsormus Access 4 December 17th, 2003 11:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.