More information about the lack of session variables

The following code works correctly if called directly, but if it is called remotely (XMLHTTP, Spry) two values went okay, but the session.variables are nowhere to be seen after refreshing the page.

< cfsetting showdebugoutput = false >

< cfset application.blog = createObject("component","petitions.client.org.camden.blog.blog").init ('default') >
< cfset application.blog.authenticate = q (left (trim (url.username), 50), left (trim (url.password), 50)) >

< cfset session.userId = q.userId >
< cfset session.userRealName = q.name >

#session.userId # < cfoutput > < / cfoutput >
#session.userRealName # < cfoutput > < / cfoutput >

All variables in session on the other pages are presented and preserved as expected.

Just in case my < cfapplication is:

< = cfapplication name "" #prefix #_blog_ #blogname # ""
ClientComm = 'no '.
setClientCookies = "no".
setDomainCookies = 'no '.
loginStorage = "session".
sessionManagement = "yes".
sessionTimeout = #CreateTimeSpan (0,1,0,0) #.
applicationTimeout = (1,0,0,0) #CreateTimeSpan # >

and there is nothing in Application.cfm that removes these two specific session variables.

What is a special behavior of XMLHTTP? or Spry?

Thanks for help.
ContiW

Thank you so much Ian.
So, no setting of session in the remote file variables.
Must find the way.

All the best.

Tags: ColdFusion

Similar Questions

  • How to get more information about the user using SecurityContext ADF?

    Hello.

    In my application I have a table use:

    CREATE TABLE ("ADM_USERS"

    ACTIVATE THE 'ID' NUMBER(*,0) NOT NULL,

    ACTIVATE THE 'U_NAME' VARCHAR2 (30 BYTE) NOT NULL,

    ACTIVATE THE "U_PASS" VARCHAR2 (255 BYTE) NOT NULL,

    VARCHAR2 (30 BYTE) "NAME."

    VARCHAR2 (30 BYTE) 'NAME')

    I configured the WebLogic environment using the the "reading- SQL only the authentication provider ' and then I configured ADF Security as ADF authentication -> Forms -authentication.

    I connect the user using the method of ""doLogin " and all that working properly. "


    public String doLogin() {}

    String _username =;

    Byte [] pw = _password.getBytes ();

    FacesContext fctx = FacesContext.getCurrentInstance ();

    HttpServletRequest request = (HttpServletRequest) () .getRequest () fctx.getExternalContext;

    try {}

    Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));

    ServletAuthentication.runAs (object, request);

    String loginUrl = "/ adfAuthentication?success_url=/faces/Registry.jsf";

    HttpServletResponse response = (HttpServletResponse) fctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());

    sendForward (request, response, loginUrl);

    } catch (FailedLoginException fle) {}

    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, "Incorrect name or password","Incorrect name or password" "");

    fctx.addMessage (null, msg);

    } catch {} (the LoginException)

    reportUnexpectedLoginError ("LoginException", the);

    }

    Returns a null value.

    }

    securityContext.userName returns the value of the 'U_NAME '.

    How to make more information on the user connected such as NAME, ID, first NAME?


    And the second question:

    How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?


    Concerning

    Darek


    securityContext.userName returns the value of the 'U_NAME '.
    How can I get more information about the user logged as NAME, first NAME, ID?

    You can not.

    You need to query DB.

    How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?

    Record this value in UserData structure so it will be available in the model. http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html

    Then use as default expression for your objects of entity attributes (something like: adf.userSession.userData.yourUserDataVar).

    Dario

  • Get more information about the last error in Oracle

    Hi all

    There is a newspaper in a live system where it is possible to see every minute the following error:

    Scan incident [48073]: failed, err = [1858]

    I know that the error may occur primarily when:
    1 try to insert caracter field into a numeric column
    2. use to misuse the function to_date()


    I need more information about this error, it may be the cause of the error in the system and why. Is it possible to see more information about past errors in Oracle? For example, if a query generates an error... is it possible to see in Oracle, the error and the query that caused the error?

    Hope you can help me.

    Thanks in advance.

    Hello

    Your error has been detected by the repository of auto diagnosis, lack of gather incident details correctly. There are a couple of metalink notes apparently relevant, then I would say that you start with the connection a SR with Oracle (for reference, they refer to a bad installation of oracle or a corruption of the oracle software)

    Niall

  • Windows Explorer has stopped working windows is collecting more information about the windows problem restarts what is the fix

    Is not allowing me to access my computer, don't constantly message restarts message windows.   Process is underway, need help.  I loged as a guest on the computer problem not if badly - however, it does not go to all the pages and begins to have a similar message to say windows cannot open this page, even if it often is in the page and it stops.

    a response would be email to me - thanks

    Hello

    1 have had any changes made to the computer before the show?

    Please follow the steps in the link.

    Important: before you perform an upgrade in-place, you must be prepared for the worst scenarios that led to your existing data on your computer being deleted. These data include data personal, settings, information about the hardware and software drivers. In case of a worst case scenario, you may have to reinstall all the programs. Make sure that you back up personal data to disks or other external storage devices before performing an upgrade on the spot.

    Error: Windows Explorer has stopped working

    http://support.Microsoft.com/kb/2694911

    Reference link:

    Explorer Windows stopped working

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/Windows-Explorer-has-stopped-working/6ab02526-5071-4DCC-895F-d90202bad8b3

  • Cannot see the details of the certificate when you try to display more information about the certificate. Need a fix as soon as possible!

    When you click on the padlock to the left of the URL > right arrow > and then click more information > to view details about the certificate Details page > view certificate, I see nothing and nothing shows me the certificate. I need this job to be able to view Details of the certificate and encryption information pages

    Hmm, you are using the all-in - One Sidebar extension? It has a compatibility issue with the Page Info dialog box in Firefox 42. See: FF42 - view Page Info - media tab is missing.

  • More information about the "Windows + r" scam

    Thanks to everyone for this discussion.  Very useful.

    I received the call from the scam yesterday; sounded plausible semi because I had recently presented an MS error report, as well as the scammer had my name and my number.  OK, I was not awake, either.  I follow the 2 steps to the "Run" dialog box  Enter "cmd", and then the event history.  Then I woke up and disconnected, so I think I'm safe.

    My question is, how in the world this crook has my name, phone number, AND the software license number (he read off to me when I used the entry 'cmd')?

    Thank you for any clarification.

    HD

    Scammers are good at what they do.  You name & phone number could be from any source data extraction.  Enter orders that there you probably were for the product number that is the same for all users of win 7 (once again a good guess)

    If you can tell us the orders he had you enter we can give you more information.

  • How to get more information about the users in oracle 11g

    Hi all

    I need to know more information on users in oracle 11g.

    1. how to check when user times last connection to the database.
    2. If the user account is blocking why it is blocked? If it is locked trying Loing with wrong password how to check how many times he tried with wrong password... and other reasons also
    3 reaction strives to select user expire date is to show the value empty... we can check expire date by querys or we need to check the profile?
    4. how to check while he was reset his password, the last time.

    Please correct me if am wrong. Thank you

    Concerning

    1. how to check when user times last connection to the database.

    AUDIT

    2. If the user account is blocking why it is blocked? If it is locked trying Loing with wrong password how to check how many times he tried with wrong password... and other reasons also

    Check the profile of this user and attr.

    3 reaction strives to select user expire date is to show the value empty... we can check expire date by querys or we need to check the profile?

    SQL> select EXPIRY_DATE from dba_users ;
    
    EXPIRY_DA
    ---------
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    23-MAY-13
    24-SEP-11
    24-SEP-11
    24-SEP-11
    

    check
    EXPIRY_DATE in dba_users is null

    4. how to check while he was reset his password, the last time.

    SELECT SYS PTIME. THE USER$;

  • Satellite A660-10 x - need more information about the password in the BIOS mode

    Hello

    When I go to the bios there are Security tab when I have things like user password, password mode password hdd/ssd and supervisor + user password hdd/ssd.

    I have not found no documentation mode "password hdd/ssd" is for and what is the difference between 'User only' and 'user + Master' and how it works.

    Could you please give me some info, how does it work?

    Best regards

    Hello

    This is a password disk HARD useful summary:
    http://APS2.toshiba-tro.de/KB0/TSB6B01MC000CR01.htm

    _HDD password user and HDD Master Password: __________
    There are two levels of password of HDD, HDD user password and the HARD drive password. If two levels of HARD drive password have been registered, you can access the HARD disk by entering one of them. Password of TOSHIBA (TPU) utility supports only the HARD drive password. If you want to register both, open the CONFIGURATION of the BIOS. If the HARD drive password has been saved, the drive HARD master password cannot be saved

    I hope this helps a little

  • HP Workspace: Where can I find more information on the workspace of HP?

    Hey everybody,

    Where can I find more information on the workspace of HP?

    Thank you

    Bill

    Learn more about application virtualization service workspace of HP by visiting www.hp.com/go/workspace. For more information about the HP Elite x 3, please visit www.hp.com/go/elitex3.

  • Information about the backup of files

    I replace my old system of vista with windows 7 Professional, I'm backing up my files if I can replace vista Ultimate edition, but I don't know which option to use to back up my computer. I like to keep everything I've got, just change the operating system. I don't have an external hard drive, so I'll support my computer on the disks.

    Hi wooldave,

    You can save your files on DVD or CD. Make sure that the disks are writable, which means that you can add, remove, or modify the content. If you decide to use this method and have a lot of files to backup, be sure to have enough disks to complete the job. The back up files Wizard you indicates how much space you need whenever you perform a backup and recommends the type of media to use. If you label the disks with the date and time of the backup, they will be easier to find later. For maximum protection, keep the discs in a fireproof place separate from your computer.

    Always keep removable storage or media used for backups (such as external hard drives, DVDs or CDs) in a safe place in order to prevent unauthorized access to your files.

    1. Open the backup center and restore by clicking the Start button, clicking Control Panel, clicking system and Maintenance, and then click backup and Restore Center.
    2. Click back up files, and follow the steps in the wizard. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    Visit the links below for more information about the backup and restore.

    Backup and restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    Back up your files

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-your-files

    Methods of backup of your files.

    http://Windows.Microsoft.com/en-us/Windows-Vista/methods-for-backing-up-your-files

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • Need more information about EO, VO and AM *.java files

    Hello
    Friends and experts, I need your help in learning OAF.
    I'm new to OAF and want to know more information about the following java classes.

    When I created a simple search with EO, VO and AM page, the following java classes are created.
    I want to know
    What is it?
    What to do with it?
    where do use us it?
    The sample scripts if possible?


    EOImpl.java
    Please correct me if I am wrong, I know that we use it to manipulate data for a particular line, such as getattribut, setattribute, delete, update, insert operations. There are different methods are been created when you create the OS if you select options in the method "generate" during step 4 on Assistant EO.

    EOCollImpl.java
    ???

    VOImpl.java
    ???

    ViewRowImpl
    ???

    AMImpl.java
    ????

    Thank you
    Sri.

    Hi Sri,

    EO:
    Entity objects are essentially based on a single table that encapsulate business rules. These objects are used by the OAF page to perform update/insert/delete operations.
    Inside of the EOImpl.java you will find setter() and the get accessor () Java methods that we call like accessor and mutator, each OT attribute is mapped to the column in the database table.
    You can also generate a create method Validate () method.
    For example: to get the value of the sequence in the OPS, you can use method Create().

    VO:
    VOImpl (VO): He just consist of an sql database query, you have probably noticed during execution of a query for example: VO.executeQuery ();
    to run any validation it provides iteration and access to the rows in its result set.

    VoRowImpl: Represents an individual line in a view object.

    You will understand when you write code using objects /voRowimpl voimpl

    AmImpl:
    It basically performs the business logic, we will define our methods to implement the business logic.
    For example: you can call a controller method and set the Amimpl.java method, you can use the initialization of the request or
    you make the DML operation, etc...

    Summary : the main reason why we have java file divide between EO, VO, AM is because OFA is designed with MVC design model.
    in other words, isolate the responsibility of the code in each layer (model, view, controller). His bad habit of writing
    all of the code in a single class file.

    For example: controller class should accept the per-user setting and move these parameters files BC4J (AMImpl.java) and his work as the AMImpl.java
    to execute the business logic and return the result back to the controller.

    To apply the standard of coding MVC, model design, we have these java files EO, VO, AM, CO. with more practice, you will understand the different
    methods defined in each of these java files.

    Had

  • View detailed information about the current run of trade rules

    Hello

    I wonder if its possible to display more details on what business rules / sessions are running on the EAS? I know that I can watch the sessions in the console of Regional service, but the problem I have is that I can't tell what business rules are in execution, or by whom (because it goes under admin instead of the logged in user).

    Y at - it logs, tables of database or another who will give me more information than what I see in the service console sessions Regional section?

    Thank you!

    For business rules, you can check hbrlaunch.log file that stores information about the guests, the time away.

    You can load in excel or use scripts to extract the information.

  • Elite x 3: where can I find more information on the elite x 3

    I am interested in the x 3 elite, how can I find more information about it?

    Thank you

    Bill

    Hey Bill,.

    The X 3 elite is new HP phone + Tablet for businesses.

    There is a FAQ available here:

    HP Elite x 3-fair questions

    Help content extra is available here:

    HP Elite x 3-preview

    HP Elite x 3-specifications

    HP Elite x 3 - using Continuum from Microsoft (Windows Mobile 10)

    HP Elite x 3-connection to the desktop docking station

    HP Elite Windows 3 x 10 mobile devices and applications

    HP Elite x 3-Add and remove SIM and microSD cards

    HP Elite x 3-transfer of data and Contacts of Android or iOS

    HP Elite x 3-bet software and drivers (Windows Mobile 10) updated

    -wes

  • Need information about the data included in the example for the inner race with flaws

    Hello

    There are several examples for fault detection in bearing (Vibration tool sets). I need more information about these data include:

    -Bringing its specifications

    -How to perform data acquisition

    -a link to the tutorial

    I came across this manual that shows how to use OATS envelope detection VI to perform detection of failures of bearings.

    http://zone.NI.com/reference/en-XX/help/372416A-01/svtconcepts/cst_speed_brg/

    It lists the specifications of turnover:

    • Inch diameter 0,2813

    • Primitive diameter: 1,1228 inch

    • Speed: 1 234 RPM

    It also goes to the list of characteristic frequencies determined by these attributes.

    The data acquisition is carried out by the use of an accelerometer and a tachometer. These devices measure the vibration and the rotation speed of the bearing data. Failure detection uses a method called detection of the envelope to look at the signals of the bearing and compared to signals of standard bearings to the discovery of flaws. You can learn more about the method of acquisition of data here:

    http://zone.NI.com/reference/en-XX/help/372416A-01/svtconcepts/fault_detection/#Envelope_Detection

    The first link is a tutorial on the detection of failures in the bearings. The end of the link provides the location of an example VI that may also be useful.

  • I get threatening and abusive emails to a windows live user, how can I get more information about this user to report.

    e-mails in danger

    I get threatening and abusive emails to a windows live user, how can I get more information about this user to report.

    The information is provided in the source of the message. In OE, Windows Mail and WLMail, Ctrl + F3 reveals this.

Maybe you are looking for

  • NB100: battery discharges in hibernation mode

    Now that my hibernation function works OK, I used most of the time, I let the netbook.So it is faster to recover after hibernation that restart. But I notice that landfill of battery substantially; It is usually on the critical alarm level after some

  • Stop command missing in xp home Task Manager menu bar

    Have file, Options, display, Windows, help in the menu bar. Stop command and the menu link drop down corresponding disappeared.  Another xp pro system has this command. How to repair or restore? Current running XP Home Edition SP3, recent updates to

  • NTLDR missing at startup

    I have a Dell Inspiron 15.  At the start it gives you the message "NTLDR is missing".  I'm not able to get the function F8 works.  I tried to reinstall windows vista, but continue to send a message while meeting is not to the conditions required when

  • NOKIA N900 presents itself as modem instead of storage under Vista

    I have a NOKIA n900 and so when for the first time I plugged my phone into the computer it showed up as a removable drive and so I was able to add and remove music from him. I tried to do this again about 10 days in a row, and when I plug it into the

  • VLAN in point to point T1

    OK, here is what I am wanting to try: PC6248 > Cisco 2800 router Cisco 2800 router > PC6224 I have 4 VLANS which would go through this link: 8 100 102 and 103. And that's how I think I will need to configure the VLAN: 6248: switchport mode trunk swit