Wrox Programmer Forums
|
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 April 14th, 2005, 03:50 AM
Registered User
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default dsn prompts for password

Hello,
I want to create a situation such that when the user refreshes a page he goes to a database to fetch some data via a DSN.

The difference is that i want a popup to prompt me for the DSN password before i can get the data, instead of hitting the Database straight away.

Thanks

 
Old April 14th, 2005, 08:12 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You'll need to have an additional page that comes up before the page that accesses the data. This page can have form elements on it to enter the password or use a client prompt (like the "prompt" javascript method) to capture the password. Then the page will send the password back to the server and you'll use it in your connection string.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Annoying password prompts using ODBC to DB2 d-fxt Access 2 July 1st, 2006 08:18 PM
Disable or Hide Prompts? LiamBFC Access VBA 2 April 19th, 2006 07:54 AM
Frequent prompts 4 password mod_ntml.so in apache urmilasingh J2EE 0 August 4th, 2005 10:50 AM
Application DSN and Session DSN ssampanthar Classic ASP Databases 0 January 6th, 2005 01:23 PM
Parameter Prompts scruffy jim Crystal Reports 1 May 30th, 2004 01:04 PM





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