|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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). |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > ColdFusion Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|