Solved

CGI.AUTH_USER

Posted on 2004-08-30
5
1,607 Views
Last Modified: 2013-12-24
Hi All

Variable  #cgi.auth_user# did not give the values when I run the application on XP. In NT, it give correct login name and application works perfect !!

1. I am having application.cfm file in my folder, in that I assigned the variable  as follow :
<CFSET #UserId# = cgi.auth_user>.

2. In my application, I have email function that deliver the status email to concerned people on daily basis.  This application first get the name of the user  from the above variable and search the email-id which already stored in database based on the variable.  It is working perfect in NT. But in XP I could not see the value of the variable and finally, the email function did not work.

We use IE 6.0.2800

If you provide the appropriate comments  will be highly appreciated.

Thanks in advance.
0
Comment
Question by:cmurugavel
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
pinaldave earned 25 total points
ID: 11939003
How about this? I devide your answer in three parts.:))
Problem:
CGI variables like auth_user & remote_user are only available when users are authenticated.

Explaination.
On Win NT it will work as it authorises the user.
On XP it does not (as per your setting so it does not work).

Solution: Go to IIS Internet Manager and changed the authentication method for my Virtual directories to only allow "integrated windows authentication" . This will fix your problem.
Regards,
---Pinal
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 11939007
Make sure that you turn off Anonymous Users in the directory security
section of the site and allow Basic Authentication, now when you try and
browse the site for the first time you will be presented with a login
dialog.
Regards,
---Pinal
0
 

Assisted Solution

by:jonbigelow
jonbigelow earned 25 total points
ID: 11946609
What Pinal said was right, but there's another possible step:

In IE go to Tools > Internet Options > Security
Click on the custom level button for the zone that your site is in (I assume this is an intranet)
Scroll down to User Authentication and check "Automatic login only in Intranet zone"

That way your browser will pass the username and password automatically when challenged by the server.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now