Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 23rd, 2001, 02:08 AM
etca2720 etca2720 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Charleroi, Belgique
Posts: 18 etca2720 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ColdFusion Problem

Hi, i have a little problem in ColdFusion...

I have a IIS server with ColdFusion.
I have applied "Basic Security" on a folder, so it's my NT domain
who authenticate the user...

It seems that variables are passed in the HEADER of the HTML
(AUTH_USER, AUTH_PASSWPRD, ...) in clear text...

I would like to see theses variables on my Coldfusion page !!!
Is there any function to make that ?

Please help me !

Regards,
Ced

Reply With Quote
  #2  
Old May 23rd, 2001, 01:24 PM
dsknkt dsknkt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: la, ca
Posts: 84 dsknkt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 49 sec
Reputation Power: 8
Ced,

In ColdFusion, all environment variables are called CGI Environment Variables, and can be accessed by prepending CGI. to the variable name (like you would do with #FORM.variable# or #URL.variable#).

So, to see the authenticated user's name, you do:
<cfoutput>
#CGI.AUTH_USER# (or #CGI.REMOTE_USER#)
</cfoutput>

If you have the CFML Language Reference pages (they come with CFServer) you can read about all the CGI Environment Variables in Chapter 4's section about Variables (near the bottom of the page).

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > ColdFusion Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway