Losing form elements and referer when opening in a javascript window

I am submitting from a.cfm to b.cfm. b.cfm opens in a Javascript window. In b.cfm, the form elements from a.cfm are lost and cgi.referer returns nothing.
When I don't open b.cfm in a Javascript window, everything is ok.
What is this happening?

Still getting the same thing.
When sf is clicked in aaaa.cfm, bbbb.cfm does not see the variable named "a".
When the link with the * is clicked, bbbb.cfm sees "a".
What on earth am I doing wrong?
This is aaaa.cfm.
<html>
   <head>
      <script language="javascript">
         function f(nextpg_,nextwin_)
            var _attrs='';
            var _br=navigator.appName;
            document.forms[0].method="post";
            document.forms[0].action=nextpg_;
            if (_br=='Microsoft Internet Explorer')
                _attrs='height='+screen.height+',width='+screen.width+'toolbar=0,menubar=0';
                _attrs=_attrs+'top=0,left=0';
                window.opener=null;
                window.close();
                window.open(nextpg_,nextwin_,_attrs)
            else
              alert('Internet Explorer Please.')
         function g(nextpg_,nextwin_,val)
            var _attrs='';
            var _br=navigator.appName;
            document.forms[0].method="post";
            document.forms[0].action=nextpg_;
            if (_br=='Microsoft Internet Explorer')
                _attrs='height='+screen.height+',width='+screen.width+'toolbar=0,menubar=0';
                _attrs=_attrs+'top=0,left=0';
                window.opener=null;
                window.close();
                window.open(nextpg_+'?a='+val,nextwin_,_attrs)
            else
              alert('Internet Explorer Please.')
      </script>
      <title>
      </title>
   </head>
   <body>
      <form name="ff">
         <cfset a=0>
         <cfoutput>
            <input name="a" type="text" value="#a#">
         </cfoutput>
         <input name="sf" type="submit" value="*" onClick="f('bbbb.cfm','windowname')">
         <a href="javascript:g('bbbb.cfm','x','<cfoutput>#a#</cfoutput>')">
         </a>
      </form>
   </body>
</html>
This is bbbb.cfm
<html>
   <head>
      <title>
      </title>
   </head>
   <body>
      <cfoutput>
         *#a#*#now()#*
      </cfoutput>
   </body>
</html>

Similar Messages

  • My 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help.

    my 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help. What can I do?

    Under CPU: 3.5% user; 5% system; 91% idle; 441 threads; 90 processes.
    Under System: out of 2GB - 54.7MB free; 530MB wired; 603MB active; 862MB inactive; 1.95GB used.
    Is too much of the system memory tied up? If so, what can I do to free some up?

  • Adobe reader XI crash and hangs when open the pdf file

    After update the adobe reader xi 11.0.10, the reader always crashes and hangs when open the pdf file. Please help me how to do.

    Ben Leung wrote:
    HThis situation is started after I clear the pop up advertisement.
    What kind of advertisement?  In Adobe Reader?  Can you post a screenshot of that: https://forums.adobe.com/thread/1070933
    Regarding the crash, can you try disabling Protected Mode through the registry: download, unzip, then run the registry script https://files.acrobat.com/a/preview/49eeb48b-07c5-4502-984c-8a25259914fa

  • Running OX 10.7.4 and can't open iPhoto 9.0 window keeps popping up saying to update software then when try to update it says software is up to date

    Running OX 10.7.4 and can't open iPhoto 9.0 window keeps popping up saying to update software then when try to update it says software is up to date

    What version of iPhoto do you have (9.0 is the original version from a couple of years ago - you should be way past that - at least 9.1 - probably 9.2 - maybe 9.3)
    Download the 9.1 update and install - http://support.apple.com/kb/DL1322
    LN

  • Safari on ios7 over ipad4 is often lag and delay when opening Thai webpage

    Safari on ios7 over ipad4 ,also other ios7 device , is often lag and delay when open thai webpage with large content
    For example; http://drama-addict.com/2013/09/30/สี่คูณสามไม่เท่ากับสาม/
    This thai-ios7 lag is very annoying, it had never happened on ios6 or ios5 or even ios4.
    Fix this problem immediately

    Safari on ios7 over ipad4 ,also other ios7 device , is often lag and delay when open thai webpage with large content
    For example; http://drama-addict.com/2013/09/30/สี่คูณสามไม่เท่ากับสาม/
    This thai-ios7 lag is very annoying, it had never happened on ios6 or ios5 or even ios4.
    Fix this problem immediately

  • Error When Opening the Transactions/Transactions Window

    Hi All,
    in Oracle E-Business Suite R12 Version
    Error When Opening the Transactions/Transactions Window
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "APPS.AR_MO_GLOBAL_CACHE", line 55
    ORA-06512: at "APPS.ARP_STANDARD", line 2912
    ORA-06512: at "APPS.ARP_GLOBAL", line 282
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-06502
    Can any body help about the error
    Thanks in advance.

    Did you go through the below notes:
    Note:125204.1, Note:153207.1 and Note:191306.1.

  • Premier Element 8 can't open any project on Windows 7

    Once again my Premier Element 8 can't open any project on Windows  7 (64-bit).  This  is same problem that happened to me 6 months ago.  I reported it to the online  Adobe support, but got no help.  Eventually I worked around it on my  own.  Now the problem is back and I can not open any project, even after  rebooting.  The behavour that I see is that I can open a new or old  project, but the Premier window shows-up as having zero size.  The bug  has something to do with the Premier program thinking that the window  size should be zero.  The program shows-up in the active task list, and  the Alt-Tab key shows Premier window has only a window title bar (where  as other active programs show-up as a thumbnail image of their window  contents), and the system taskbar also shows the Premier program as active but only as a window title bar (see attached image below)
    When  I reported to the online Adobe support forum 6 months ago that I had worked around  the problem, the answer was something like "good that you fix it", BUT Adobe  did not seem to be interested in understanding and fixing the problem.  They just seem relieved when customers can figure-out work-around on  their own.  I see that another peron just reported this same problem on the Adobe forums, and got the same treatment.  He also found a work-around, and the support person replied when "that's nice".  This really bites me where it hurts.  I'm burning  non-productive hours because of their bugs, and they don't care enough  about the bugs to get engineering to fix them.  It's things like this  that make me look for another software vendor.
    But today I really do need to work on my video project.  If there is a document work-around for the "Premier show a zero-sized window" bug, PLEASE let me know about it.
    Thanks in advance for any help you can provide,
    -- Ole Pa

    Hi Steve,
    Thanks for looking at this on Saturday, and for your question.  What I mean by a "zero sized window" is that Premier's window has been created and the program is running, but when I give Premier focus nothing is shown on the screen.  I know the program is running because I can see it on the Windows taskbar, in the Alt-Tab list, and in the task manager's list of running programs.  When I use the Windows taskbar to alternately show and hide the window, it behaves normally, except when I show it nothing shows on the screen.  Also, when Premier starts up, I do see it loading the project, but when the project loads the window disappears. Premier has this annoying design of starting with its window maximized, and then automatically resizing the window to what it thinks is the size that I want.  When the bug is active, the size seems to be zero, or minimized, or off the screen, or who knows what.  Just not anything that I can see.  The little thumbnail that Windows 7 shows of running programs on the taskbar makes be think the window has been resized so that it is zero pixels wide and zero pixels high.
    In my earlier report of this bug, I described it as "minimizing to the taskbar" because that is what it appeared to doing at that time.  Here is a link to my earlier report:
       http://forums.adobe.com/thread/704857
    That thread has screen snapshots that show the visual atrifacts of the bug on Windows 7.  I experienced the same bug again this morning.  The workaround that I had done last year did not work this morning.  Here is what I did to recover this time:
    Uninstalled Premier Elements 8.  Deleted my personal setting, and also "smart sound".
    Rebooted my PC.
    Installed Premier Element 8 from the CD.
    Rebooted my PC
    Things were still not quite right.  In fact the bug appeared to still be there, but all of a sudden it started showing me the window after the project was loaded.  Sigh.  I will never launch that little startup program again (the one behind the desktop icon), and only open ".prel" files directly.  Not sure if that will help or not, but at least it takes one variable out of the startup procedure.
    I wish that I could tell you how to reproduce the bug, but in fact I do not know what I do to provoke it.  My PC is
    - Dell XPS9000 (Intel i7, 3.33GHz, 12GB ram, 4.5 TB disk)
    - Windows 7 Ultimate
    - Two 24 inch LCD displays
    - Runs several Adobe programs (like PS, LR, Acrobat).
    Don't get me wrong:  I love Adobe software.  You are the best in the graphic arts industry.  That's why I buy and run your stuff.  But when I have a deadline hanging over my head, and I have to spend 1/2 day getting the software to just come up, I get crazy and want to herd feed animals for a living!  Maybe I'll have to do that if the economy does not improve in 2011...
    Thanks, Ole Pa

  • I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the defaul for opening a project?

    I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the default for opening a project?

    scottypet
    For Premiere Elements 11 and 12, you cannot change its default project preset from NTSC AVCHD Full HD1080i30 or its PAL counterpart PAL AVCHD Full HD1080i25 to something else.
    For each project, you can set the project preset manually if you do not want the program to take over setting the project preset based
    on the properties of the first drag to the Timeline.
    To set the project preset manually, open the project to the Expert workspace, go to File Menu/New/Project and Change Settings.
    In the Change Settings area, change the project preset. Before you exit that area, be sure to have a check mark next to "Force Selected Project Setting on This Project" in the new project dialog.
    Then you import your source media, using the appropriate Add Media choice.
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    If you want a version of Premiere Elements that uses the default project preset of NTSC DV Standard or its PAL counterpart PAL DV Standard, then you need to look to a version of Premiere Elements earlier than 11.
    Please let me know if you have any further questions on this or need clarification.
    Thank you.
    ATR

  • Get volumes displayed by default under Home when opening File Explorer in Windows 10 Technical Preview

    Scenario:
    In Windows 8.1, it is to display volumes under This PC by default when opening File Explorer, which is as shown in Figure1. However, in Windows 10 Technical Preview, it is not to display volumes under Home by default when
    opening File Explorer, which is as shown as in Figure 2. This articles describes a workaround to get volumes displayed by default under
    Home when opening File Explorer in Windows 10 Technical Preview.
    Workaround:
    This workaround is to edit some related Registry keys. Note: Please click
    Yes in the User Account Control prompt to continue. What’s more, before you make changes to a registry key or subkey, we recommend that you export, or make a backup copy, of the key or subkey. In this scenario, please backup the key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer.
    Click Windows icon and type Folder option in Search box, and click
    Folder option to open it.
    Under View tab, clear the checkbox Hidden extensions for known file types
    in Advanced settings.
    Create a Text Document, copy the following lines into it, rename it as
    Fix.reg. Double click the file fix.reg and click Yes to run this file
    Windows Registry Editor Version 5.00
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HomeFolder\NameSpace\DelegateFolders\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
    @="This PC"
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HomeFolder\NameSpace\DelegateFolders\{d34a6ca6-62c2-4c34-8a7c-14709c1ad938}]
    @="Favorites Folder"
    Open File Explorer again, and the new view is shown as the below picture:
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    i think what he want is to change the Win + E shortcut to This PC.
    I understand that is the goal. I've tried the registry hack, it works, but I found it left fragments of other files from "Home' scatter around in there too. We all been using this new version of windows for a few weeks now, built up a list of stuff
    we have looked at, and that is why I said it's not the prettiest solution. It might have been okay if it was done just after a fresh install. In my alternative solution, you are bringing the This PC icon out to a more accessible place so you
    don't have to use the File Explorer icon to get at the volumes i.e. hard drive view.
    Personally, when I launch the File Explorer, I am expecting to be looking for something straight away on my hard drives and not be presented with a list of stuff that I have already looked at. That kind of thing should be left
    in a Recent Folder sort of thing we use to see in the older versions of windows.

  • I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    Finder -> Preferences -> General -> uncheck "Open folders in tabs instead of new windows"

  • HT4796 I just downloaded the Windows Migrator and tryed to open it.  A window popped up saying "YOU CANT OPEN THE APPLICATION BECAUSE MICROSOFT APPLICATIONS ARE NOT SUPPORTED ON OS X".  How do i transfer my file?

    I just downloaded the Windows Migrator and tryed to open it.  A window popped up saying "YOU CANT OPEN THE APPLICATION BECAUSE MICROSOFT APPLICATIONS ARE NOT SUPPORTED ON OS X".  How do i transfer my files?

    An .exe application is compiled for Windows. It will not run on a different OS. If you need to run this program, then you will have to install Windows on your Mac. Either as a separate bootable partition, or running in a virtual machine, such as Parallels or VMWare.

  • Losing layers and groups when opening CC in CS6

    If CC is a TRIAL program, why would you allow it to blow away layers and groupings when the doc is reopened in CS6? No I have to resinstall CC, open the doc, save it back down to CS6, and PRAY that the layers and groupings are intact. What a waste of my time.

    bonnober,
    You should always save to the lower version from the higher version.
    Whatever is new or different is simply absent from the lower version, so it will be missing or (mis)represented in whichever way is possible.
    Fundamentally, the trial version is identical to the paid version.

  • Interactive PDF with mouse-overs was created in Illustrator, now pauses and flashes when opened in Acrobat

    I have created an interactive PDF using Illustrator that has mouse-overs. When i export the file and then open it in Acrobat there is odd pausing on teh image bewteen mousing over it and the text callout that shold then display. Did I export or save incorrectly?

    Thank you for both responses! I'm impressed with the fact that you're reading my post.
    I'm new to tech matters with Adobe/PDF/Nitro tho I've been using them for several years.
    The original file was created by an agency and given to independent contractor to use.  I don't know which program they used to create the form. And I don't know what XFA or LiveCycle Designer means  because I'm not technically sophisticated unfortunately.
    I used Nitro 6 to populate the data and have a number of forms already filled out, which I periodically open and modify and resubmit. But Nitro 6 is acting sick, despite reinstalling several times.  I'm attempting to see if it's worth transitioning to Adobe Acrobat, i.e., can I reopen the forms I've populated and continue to work with them.  I like some of the Adobe features for other purposes (e.g., OCR). 
    Any help in determining how to open the form while keeping the data?

  • Elements 7 crashes when opening more than 1 file

    Can anyone help me with this problem of Editor crashing when I attempt to open more than 1 file

    OK,
    1)The files are raw NEF's from a Nikon D300
    2)error message is "Adobe Photoshop Elements (editor) has encounterd a problem and need to close. We are sorry for the inconvienience."
    3) error signature:
    AppName, photoshopeditor.exe appver 7.0.0.0, ModeName ntdll.dll, ModVer 5.1.2600.6055, Offset: 00019af2
    4) I have an open Nef file minimized below and select another Nef file, it comes on the editor screen, I then select "open file" , then the above message comes on the screen, and after "reporting error", Editor crashes and blows me out of Photoshop completely.
    5) no other software is running, I have even shut down my virus software
    6) XP pro 3GB ram
    7)420GB free space on C HDD
    8) yes it did work fine months ago, but I took a break from Photography(3-4 months), with no changes to photoshop.
    9) I did recently update the raw files, but as a note, this is happening with JPG's as well.
    6) I have tried uninstalling Elements and reinstalling, with no change
    Thank you for your efforts
    Dan Roth
    970-846-7267

  • Forms 10g Builder Crashes when open plsql editor

    I ve installed Oracle 10g(10.1.2.02) Developer on Ubuntu 9.10.
    Even i can open and compile forms without any problem when i try to create a new plsql object or open
    an existing Builder closes immediatelly.
    Thanks in advance for your help.

    What do u mean?
    My problem is that when i open an fmb and try to right click or double click on a procedure
    or a function to see the code , builder closes .In terminal i get this
    X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 8 (X_MapWindow)
    Resource id in failed request: 0x0
    Serial number of failed request: 13405
    Current serial number in output stream: 13415

Maybe you are looking for

  • In "my Documents" my back/forward buttons are grey, & inactive. Joe

    when I open "My Documents" the back/forward buttons are are "grey" & non-responsive, how can I retreive them?       Joe

  • Info Object: Change of Data Type (NUMC to CHAR)

    We have a scenario wherein one of the Info objects is defined currently as NUMC. Due to the change in the Source system, the info object is now defined with data type as CHAR. The info object in consideration is the "Cost element". As the current inf

  • IPhone 2G Shuts Down upon Start-up- Advanced User

    My phone boots up with the Apple Icon. Just before the home screen appears, I get the while scroll and it shutsdown. I restored the phone on ITunes. Saw the homescreen once when it said it was now activated and ready to go. The battery died, so I cha

  • OS 9 Classic won't start

    I'm trying to use Hypercard on OS 10.3.9 slot loading iMacs but Classic OS 9 won't start. All indications are that Classic is starting but the progress bar stalls near the end. There are 7 machines in my lab of 27 having this problem. All of the mach

  • Lion server printer management.

    Lion Server no longer has printer management and I believe CUPS has the ability to set quotas.  Has anyone found a way to do this for open directory users?  Possibly a terminal script can run at login that sets a quota for each user?