Can't get cgi.remote_user from cfc anymore

I'm having trouble getting cgi.remote_user in cfc not
returning to Flex in a cfc to return to Flex.
The cfc returns the cgi.remote_user when invoked from a cfm
page. But from Flex just "" empty. I can access
the cfc from Flex, just can't get any cgi vars.
It use to work from the Flex app using a RemoteObject until
the other day, I had to reinstall the OS, IIS and Coldfusion again.
OS: Window Server 2003
IIS : 6
ColdFusion: 8
Don't know if I'm missing a IIS setting or if it was
something left over for an old Fash Remoting or CF setup that was
allowing this to work.
Thanks

I have a similar issue. Anyone have any ideas? Here is my
scenario:
A user hits my application and a remoteobject calls a CFC.
The CFC has a login query that uses the CGI.REMOTE_USER variable.
SELECT (..User stuff)
FROM (sometable)
WHERE (RemoteUser = '#cgi.remote_user#' (well, it is in a
function, but you get the idea)
Anyway, if I invoke it using a CFM file, I get a good result,
as expected. But my Flex app see's nothing when I run it. All the
other queries work just fine. If I replace the #cgi.remote_user#
with actual text, like esc\mcneelg it works fine.
Thanks.

Similar Messages

  • Where can I get Jaws.jar from Sun?

    Where can I get Jaws.jar from Sun?
    thank you.
    while I use seach in download I do not find it.

    // new class for jsObject!!!! since 1.4.2 compile this:
    // javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
    // since jaws.jar does not exsist anymore
    // to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
    http://www.tek-tips.com/faqs.cfm?fid=5101

  • WRT54GS v4 developed increasing lag, now it can't get an IP from the modem at all.

    I am connected wirelessly to my WRT54GS v4 over WPA2, and it's worked very well for years. About 2 days ago, the router started developing serious lag. Some web pages (CNN, Google, etc) would time out only to work OK 10 seconds later (or not.) A traceroute to the offending domain would show my second hop as timing out, with all other hops < 80ms. Sometimes I'd get 3 webpages (all on different sites) hanging at the same time, only to finally display 20 seconds later simultaneously.
    That was all on firmware 1.06.1. I just upgraded successfully to 1.06.3, with absolutely no change. I held reset for more than 30 seconds with no change.
    The router looks like it can't get an IP from the modem at all. Clicking the DHCP Renew button in the web interface just bounces back to the same page but doesn't show that it's picked up a valid IP address.
    If I plug into my cable modem directly from my laptop, the connection is awesomely fast with zero hangs or hesitation.
    Can *anyone* help me please?

    I was able to fix my problem by following alllll the instructions on this page: http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=4572&p_created=11658...
    I also remembered that I had been resetting my cable modem (by power-cycling it) once or twice a day because it was losing its signal. I wonder if that was part of the problem?

  • I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    POP: yahoo, aol, comcast/time warnder/road runner
    Imap: google, hotmail, and more including icloud.
    If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically  Icloud or Hotmail would be my choices right now.
    To find out more about what happens to you, search on Google "difference between pop and imap"

  • How can i get all values from jtable with out selecting?

    i have one input table and two output tables (name it as output1, output2). Selected rows from input table are displayed in output1 table. The data in output1 table is temporary(means the dat wont store in database just for display purpose).
    Actually what i want is how can i get all values from output1 table to output2 table with out selecting the data in output1 table?
    thanks in advance.
    raja

    You could set the table's data model to be the same:
    output2.setModel( output1.getModel() );

  • How can i get thes songs from ipod nano to the itunes libary??

    hi
    i have ipod nano and i sync it with over 500 songs .....my bad i lose all that songs on my libary  .... how can i get thes songs from ipod nano to the itunes libary??

    See this older post from another forum member Zevoneer on different ways to copy content from your iPod to your computer.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Can you get values back from a stored procedure via OUTPUT parameters?

    Can you get values back from calling a stored procedure via OUTPUT parameters/variables? I call the SP via a SQL statement from a script either in a WF or DF.
    I thought I read some reference that DI could not get the values from OUTPUT parameters but I could not find it again (don't know if it is in any of the documentation or referred to in a forum.
    I did try a couple of tests but it did not reutrn any values via OUTPUT. But before I give up I thought I'd see if you could and maybe I needed to change something.

    This isn't exactly an answer to your question, but I'll point out that, given that you're resorting to a SQL script in the first place, there's no reason you can't also turn the output parameters into a regular result or record set. (The following uses T-SQL, although I think it's pretty generic.)
    declare @param1 int, param2 varchar(100), @return int;
    exec @return = proc @param1 = @param1 output, @param2 = @param2 output;
    select @param1 as param1, @param2 as param2;
    That is, to get from output parameters to a "regular" output from the SQL script isn't much of a leap...
    Jeff Prenevost
    BI Consultant
    Ann Arbor, MI

  • Can viewObject get a parameter from sessionScope to binding variable?

    hello,
    using Jdev11g ADF Fusion application
    Can viewObject get a parameter from sessionScope and assign into binding variable ? without using executeWithParameter
    Thanks
    greenApple

    A. Safwat,
    As I said before, I was not trying to be offensive, but simply to explain some of the shortcomings of one solution over another. One of the reasons people give such short answers is that many questions (including this one) have been asked and answered many many many times before on the forum. As to my reasons:
    1). Overkill - overkill because you are writing code to do what the framework already provides for you.
    2). Not bind-variable friendly - you are gluing in literals into a SQL statement. That means that Oracle will have to hard parse the query for each new value of the filter clause, yielding to poor performance, particularly in a multiuser environment. It should ideally be done using bind variables.
    3). Insecure (think about what happens if you put "'xyz' or 1=1" into the filterValue there) - not using bind variables is a security hole. Think through what happens if a filter criteria comes through like the one I mentioned.
    4). Inflexible - because you are overriding executeQueryForCollection, this VO becomes inflexible and can only be used in this particular place. Using the declarative approach outlined by Timo is more flexible
    5). Bad (ok, that's my opinion there) - OK, perhaps this was a bit offensive ;)
    Please don't take a critique of a post as offensive, as I assure you it was not intended to be in that spirit. As I mentioned, I greatly appreciate when people point out issues/problems/etc with my ideas, as that is the best way for me to learn. I have in the past written applications that were not bind-variable friendly, and I learned the downsides the hard way (system was horribly non-performant) - I wish someone had reviewed my approach and told me "bad idea" before the application made it into production.
    Respectfully,
    John

  • How can I get all photos from iPhoto to automatically back up to iCloud from my Mac OSX Version 10.6.8 operating system.  Not enough memory to upgrade.

    How can I get all photos from iPhoto to automatically back up to iCloud from my Mac OSX Version 10.6.8 operating system.  Not enough memory to upgrade.

    You can't.  iCloud is not for general file backup from a Mac. It's for backup up and syncing data between mobile devices and and Macs and  The following is from this Apple document: iCloud: Backup and restore overview.
    iCloud automatically backs up the most important data on your (mobile) device using iOS 5 or later. Once you have enabled Backup on your iPhone, iPad, or iPod touch .....
    What is backed up
    You get unlimited free storage for:
    Purchased music, movies, TV shows, apps, and books
    Notes: Backup of purchased music is not available in all countries. Backups of purchased movies and TV shows are U.S. only. Previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore.
    Some previously purchased movies may not be available in iTunes in the Cloud. These movies will indicate that they are not available in iTunes in the Cloud on their product details page in the iTunes Store. Previous purchases may be unavailable if they have been refunded or are no longer available in the iTunes Store, App Store, or iBookstore.
    You get 5 GB of free iCloud storage for:
    Photos and videos in the Camera Roll
    Device settings (for example: Phone Favorites, Wallpaper, and Mail, Contacts, Calendar accounts)
    App data
    Home screen and app organization
    Messages (iMessage, SMS, and MMS)
    Ringtones
    Visual Voicemails
    But not from a Mac.  If you want to backup your photos and other important files I suggest you get an external hard drive and use  it with Time Machine.
    OT

  • How can I get all photos from the camera roll onto the photo stream so they will share between iphone and ipad?

    How can I get all photos from the camera roll, and all new pictures taken, to get on the photostream so they can share between iphone and ipad?

    When turning PhotoStream on with photos available in the Camera Roll, only photos captured by the iPhone or saved on the iPhone are placed in the PhotoStream.
    For all photos that were in the Camera Roll prior to turning PhotoStream on, import the photos with your computer and add the photos to your PhotoStream on your computer.

  • HT1454 why i can not get video out from my ipod touch after i did the upgrade

    why i can not get video out from my ipod touch after i did the upgrade

    why i can not get video out from my ipod touch after i did the upgrade

  • HT1454 Can not get video out from my ipod touch 3rd gen. Any ideas? It should nt be diffiicult to do this on the 21 st century, or not?

    After having spent EUR 130 on cables from apple, i still can not get video out from my ipod touch 3rd gen. Any ideas? It should nt be diffiicult to do this on the 21 st century, or not?

    Backing up an iOS device will copy some data to a backup file within iTunes, but this excludes all media.  You can also transfer iTunes Store purchases from the iDevice to iTunes but, without using a third-party tool, nothing else.  As long as you do not sync the iPod with your new library, the media that's on it will remain ... for as long as it keeps functioning, is not lost, stolen, eaten by the dog, ...
    You may also have an option to recover your previous library from your old laptop; as long as its hard drive isn't fried, a computer repair store or technician may be able to extract the drive, mount it in an external enclosure, and copy your data to another PC.  Whatever you choose, there is no real alternative to having all your media on your computer, managed by iTunes, and regularly backed up to another device/location.

  • I have an iPod Classic and the latest version of iTunes. I make all my purchases on my computer, but when I try to click the "add to" option and transfer the songs to my iPod, it doesn't work. How can I get my songs from my computer to my iPod?

    I have an iPod Classic and the latest version of iTunes. I make all my purchases on my computer, but when I try to click the "add to" option and transfer the songs to my iPod, it doesn't work. How can I get my songs from my computer to my iPod?

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

  • Can i use some other company's locked iphone? or can i get official unlock from apple? cause i had iphone but it got water damage and don't want to pay crazy amount of money to get brand new...

    can i use some other company's locked iphone? or can i get official unlock from apple? cause i had iphone but it got water damage and don't want to pay crazy amount of money to get brand new...
    and i m getting locked phone from my family memeber for free. but he's with some other carrier. so can i get official unlock for that phone. please help me with this.
    thank you

    Only the original cellular provider can authorize unlocking. You will need to contact them to determine if they offer unlocking and if the phone qualifies.

  • HT4437 I want to develop a software with AirPaly service for business things. How can I get the permission from Apple?

    I want to develop a software with AirPaly service for business things. How can I get the permission from Apple?
    This one is used in Windows laptop, and I want it support AirPlay service, but Apple doesn't publish the AirPlay protocol.
    Many thanks.

    Create a developer account, then access he developers forums and see if you can find the information that way 
    The other option would be to simply contact Apple directly.

Maybe you are looking for