How to store user session?
Hi all
I'm integrating the functionality of Facebook login in my ATG application.
I am able to see the fb login button in my login page and when I click on this button user is prompted to log in with credentials of fb.
After successfully connecting the user is able to see my app page and then redirect to index my application page.
But the problem is that the user is not connected until the session (as add to cart, cash...).
How can I get this feature?
Please suggest me!
Kind regards
Prateek
If I understand many Prateek, his requirement is as Flipkart in which when a user click on the "Connect with Facebook" button, it will open a popup, and who is responsible for Facebook no request by Prateek. In this case Prateek have no control on this form to invoke its Formhandler.
What I'm suggesting here, is that, once Facebook makes a user authenticated (for example using Facebook "Login for Web" method), it will create a cookie to keep the active facebook session. If it does not create and Prateek uses the login Javascript method, it can create a cookie or set a session variable (call it as facebookLogin) to true.
Create a ServletPipeline component and which occur in steps,
1. check if the user is authenticated (using Profile.securityStatus)
2. If the user is authenticated through the next servlet
3. If the user is not authenticated, find the cookie or session variable. If you find appropriate as facebook etc user id information, put your logic to check if this user already exists or continues a profile and make the authenticated user by calling ProfileService.loginUser and triggers a connection event.
This will keep an ATG logged in logged in as normal ATG connection scenario until the user explicitly disconnecting the ATG app.
See you soon
R
Tags: Oracle Applications
Similar Questions
-
Quick Noob Q: how Captivate persists user session info
pls forgive this noob question, but I tried to find this info in the docs with little chance
can Captivate don't forget when the user is in the session if they leave and come back another day? This includes questions answer/not yet answered, Yes?
is that what comes in the Connect Pro Server (formerly a Breeze server?)?
-or-
is there some hooks (bridge or JS/Flash webservice calls) so you have to build a layer of persistence of record when the user returns to or what they said so far?
I found interesting things on the interoperability of SCORM, but seemingly finished/not finished/total score quiz things, of not not persistent sessions... (or am I wrong - SCORM uses the LMS - Blackboard in my case - remember where they are up to)
Thank you very much
Barry.b
thanx
Barry.bQuick answer: Yes, Captivate can go back to the last slide visited - but only if:
(1) you select 'Exit e-learning' (for SCORM or AICC), and
(2) content Captivate is loaded in and through an AICC-SCORM compatible or learning (LMS) access management system.LMS relevant variables that contain data are "bookmarking":
(1) cmi.core.lesson_location (last slide read, in the case of Captivate)
(2) cmi.core.lesson_status (pass/fail/incomplete, etc.)
(3) cmi.core.suspend_data (usually a string of variables necessary to update a 'session' carefully, as previously entered text, etc.) -
Where / how LabVIEW stores user-defined color palettes?
Hello world
in order to introduce the CI defined in our screw colors, I entered all colors in the hand LabVIEWs color dialog box using RGB codes just to find out, they had disappeared after the next startup of LabVIEW. Is there a way (a kind of ini file) and make them available at all times?
Haven't found anything yet on the forum or in the help system.
See you soon
Oli
Yes it is.
Tools > Options
ini entry is in this format
colorUserItem = "3D object = BCBCBC; Control the background = SCOTT; indicator background = D2D2D2; object Active 3D = 969696; Text = 000000; LED on = 64FF00; The LED is off = 1E4B00; Thermometer of filling = FF0000; Drag fill = 0041DC; Drag the housing = 6D6D83; Tank fill = 0041DC; Housing of the tank = A9B3CB; Classic = B3B3B3; Classic Slide thumb = 3399FF; Wire RefNum = 007F7F; Comment by model = 91FBFE; Warn = FF7F00; DAQ = 893900 "
WARNING: most of these colors apply to the new screws, no changes are made to existing screws, however, "Coersions points" apply to FG Blink new or existing screw. and BG Blink applies only to the new screws.
Changing some people can be a royal pain. For example, you wouldn't want to remove "Control background" and replace it with "success."
-
Forms user session 11 GR 2 Max
Hello
I have three simple questions, can anyone help me find the answers.
What is the user session max for the version of oracle forms 11.1.2.1?
If the limit of user sessions max achieved how can we treat them?
How can I me user session max for version forms 11.1.2.1 through sql code?
Thank you!
Badio. S
What user access in a web forms application, a user of forms logon will be visible in OEM.
So you can see how many forms user sessions is here at any time.
You can get this information at the level of the OS, using the «opmnctl» order status
My question is how many simultaneous users can access oracle forms 11.2.1.1 application via web at the same time?
Is there a limit?
You can set it in the formsapp management console, the default value is - 1, which means unlimited.
-
How to view the session of users in active directory remotely...
Hello...
I work with the environment of windows server 2008 Active Directory Domain Services (AD DS), Clint computers are joined in the field and having the xp Machines in. Now I want only to see the users session (session) or how to interact with the user desktop when users connected and without disconnect from their session and using the third-party applications. I tried with third party software, but they're expensive.Hello
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Technet Forum. You can follow the link to your question:
http://social.technet.Microsoft.com/forums/en/category/WindowsServer/ -
How to store the query string value in the scope of the session in webcenter spaces?
Hello
I want to store the query string value (which is given from URL) in the sessionScope variable. According to the value of sessionScope beacause I went some components inside my taskflow. Can someone help me how to store this value in the scope of the session. I use webcenter spaces for my application development.
Thank you
Ashok.
Please see the article below
How to pass a parameter of argument the query URL to a parameter input workflow? (Doc ID 1545808.1).
-
The previous user didn't verify his account. I don't know how to close the session?
The previous user didn't verify his account. I don't know how to close the session?
CC just asked me to check it out but it is NOT my account and I do not know whose ID is.
And now I can not connect with my account. Help, please.
BTW, there is NOT "Préférences."... "in the setting button.
Windows:
Step 1)
Exit the desktop Adobe Creative Cloud application.
End Adobe partner all the processes like creative cloud, CoreSync, AAMUpdater, Armsvc... etc. of the Task Manager.
Step 2)
Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.
Type below command and press the enter"" key.
AppData
Then go to the Local > Adobe > OOBE. Open the OOBE folder and delete the file opm.db .
Once you had deleted Opm.db file, run Adobe Creative Cloud application and check.
Mac:
Step 1)
Exit the desktop Adobe Creative Cloud application.
End Adobe partner all the processes like creative cloud, CoreSync, AAMUpdater, Armsvc... etc of Activity Monitor.
Location: Applications > utilities > activity monitor.
Step 2)
(1) right-click on the icon in the Finder, then select 'Go - To' folder.
(2) you will get a text box, type in the following command and then press the 'return '. (Don't miss ~ symbol)~/Library
(3) then navigate to Application Support > Adobe > OOBE. Open the OOBE folder and delete the file opm.db .
Once you had deleted Opm.db file, run Adobe Creative Cloud application and check.
-
How to check whether or not a user session is null
Hello
I use Jdeveloper 11.1.2.2
I have a some Junit test case execution use case, that's the problem I have:
There's Junit tests that are written for some VO while tests of insert and update operation to Junit it is two General required columns Created by and updated by to engage in the database.
These values are taken from the UserName of the current UserSession.
So to get these values for each user, I thought to display a JPanel before the test is run, where the user enters the user name and password which is validated and the user is verified.
First of all, I need to check if there is a session presents or not. To check this, I wrote a createUserSession() and liked on the inside:
Would that be to show the Jpanel and the details of the user and verify the user.if(fixture.getApplicationModule().getSession().getUserData().isEmpty())
But when executing the test itself, I found that the session is already present, now I just at the entry values based on who is the user.
But Junit run the tests in the order in which the tests are written. I therefore call this in all the test cases.
The Question is:
How can I check if the session is already present or not, so that I don't have to ask the user every time of each test runs to enter the user name and password?
Thank you
Nigel.
Edited by: Nigel Thomas July 30, 2012 10:26Hello
ask yourself why you create test users and then automatically connect them as Jan Vervecken made in the net, I told him you. This way your test cases run without user intervention. To test if a session exists for a user, I would put a custom property in the user data. If this property exists, the user session is an existing one. However, make sure that the information you save user data survives passivation, because otherwise the information you get out of it is not accurate. See: http://tompeez.wordpress.com/2011/07/08/jdev-always-test-your-app-with-applicationmodule-pooling-turned-off/
Frank
-
How to deploy a VO Bind variable to get the value of user session...
Hello everyone...
A JSF Page has a table based on VO with two parameters. One of these parameters, I'll go through the ExecuteWithParams operation.
but the other setting, I need to pass a value of user session.
Is this possible? How would I do that? I m using jdev10.1.3
Thank you...When you create a link to executeWithParams in your pageDef, binding action should have NamedData elements for each of the parameters. These would be allocated a variableIterator to the top values in the executables section. The parameter that gets its value from the user input should be left alone. For the parameter that gets its value from the session of the user, change the EL expression that defines its NDValue attribute so that it references the session information that you want to use. This may be a sessionScope variable that you defined earlier in the session, according to Frank, a property of a bean managed in session scope, or other variables.
-
How to enable protection of the status of link column of calendar user session level
I activated the user session level State protection in my application. Attributes column report, link to the column, page checksums, I choose "reusable level-link current per user.
However for the link column calendar, there is no option for me to choose and by default is using "session-level". Is there a way to change session level protection at the level of the user to link column of calendar?Cheng-Lu,
Please ask about this, it is a very good question. When we implemented this feature in version 2.0 of the product, us does not control over the type of checksum in the links (3 types) but for two situations: 1) declare links, as you noted, and links 2) dynamically generated as you can produce in your SQL report or in a region of PL/SQL. For the latter case, you must use the apex_util.prepare_url function to generate a link, passing the type of checksum by the signature of the function:
FUNCTION PREPARE_URL RETURNS VARCHAR2 Argument Name Type In/Out Default? ------------------------------ ----------------------- ------ -------- P_URL VARCHAR2 IN P_URL_CHARSET VARCHAR2 IN DEFAULT P_CHECKSUM_TYPE VARCHAR2 IN DEFAULT
It wouldn't be a bad idea for us to treat the calendar links as we do report links. However, until we come back, it's a possible workaround solution: tell your link to calendar for the current application, page 10 and assigns to P10_ITEM with a value & P1_ITEM... Edit this link to access a new page of 100 with the same session state settings, when the 100 page requires a checksum. On page 100, create a process before heading to do this:
owa_util. REDIRECT_URL (apex_util.prepare_url (p_url =>'f? p =' |: APP_ID |)) ' : 10 :' || : APP_SESSION. '::NO::' || P10_ITEM | ':' || ((: P1_ITEM, p_checksum_type => 'PRIVATE_BOOKMARK'));
So if the user clicks on the link to the calendar, the visible URL in the location window should be in the form:
http://host/pls/dad/f? p = app_id:10:session:NO:P10_ITEM: cs & some-value = 26A9030462248D4723CF46ABD4F5AA10A
This link contains a checksum of the user level and can be bookmarked and reused later by the same user.
Please let me know if it works for you.
Scott
Published by: sspadafo on May 16, 2009 09:49 to prove the use of p_checksum_type in prepare_url
-
ACS 5.6 Maximum by user sessions
Hi all,
I have a client that has installed a 5.6 ACS joined his announcement. He wants to limit the maximum number of sessions per user, but these users are authenticated by the AD. How can I limit sessions maximum?
I tried to do in the configuration of the ACS, access policies > Max user Session policy > Max Session user settings, but is does not match this policy. I apply this policy, authorization policy? How can I do this?
If you can leave me a link where it is explained, thank you much.
Kind regards.
David.
Hi David. In my opinion, that these settings apply to internal groups of the ACS. So in order to take advantage of those you need to map your ad to an internal group ACS groups and then apply the 'Max user political Session' to those. Here is a link with more information:
I hope this helps!
Thank you for evaluating useful messages!
-
all 255 Essbase error 101 user sessions are used
Hello
I'm trying to connect to EAS and I got the following error:
all 255 Essbase error 101 user sessions are used
I have right to administrator, you're wondering how to fix it?
Thank youHi Donny,
You can do this easily with MaxL:
http://download.Oracle.com/docs/CD/E17236_01/EPM.1112/esb_tech_ref/maxl_altsys.html
Alter system set session_idle_limit
seconds/minutes Kind regards
Robb Salzmann -
How can I add session variables for the subject field and the body of the e-mail Message?
How can I add session variables for the subject field and the body of the e-mail Message? Tried several combinations, but do not seem to correct the syntax.
This is the code I have. I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.
$à = « à : ». $_SESSION ["toemail"];
$subject = '$firstname $lastname, your registration details ';
$from = "from: [email protected]"; "
$msg = "Dear $title $firstname $lastname\r\n\nThank for the registration for the design of your dream Home.\r\nWe have received this following details details of you-\r\n\nClient-\r\n\nOccupation: $occupation \r\nPhone No.: $phone \r\nE-mail: $email\r\n\nPresent $ location: \r\n location\r\n\nPresent address: \r\n$ address\r\n\n\nFollowing are specified by you - design requirements \r\n\nBasic Features\r\n\nNo." floors: $floors\r\nNo. of bedrooms: bedrooms\r\nNo of $. of bathrooms: $bathrooms\r\nFloor region: $sqft\r\n\nFurther Suggestions: $ Plan\r\n\nSplit one further\r\n\n\nType floor: $splitfloor\r\n-remarks: $splitfloorremarks\r\nOpen floor: $openfloor\r\n-remarks: $openfloorremarks\r\n\n\nList of the rooms to be Included\r\n\nFoyer: $foyer\r\n-remarks: $foyerremarks\r\nDrawing: $drawing\r\n-remarks: $ alive drawingremarks\r\nFormal: $formalliving\r\n-comments : $ alive formallivingremarks\r\nFamily: $familyliving\r\n-remarks: $familylivingremarks\r\nHome Office: $homeoffice\r\n-remarks: $homeofficeremarks\r\nDining: $dining\r\n-remarks: $diningremarks\r\nMaster room: $master\r\n-remarks: $masterremarks\r\nMaster bathroom: $masterbath\r\n-remarks: $masterbathremarks\r\nMaster Dressing: $masterdress\r\n-remarks: $masterdressremarks\r\nBedroom: $bed\r\n-remarks: $bedremarks\r\nBathroom: $bath\r\n-remarks: $bathremarks\r\nDress: $dress\r\n-comments : $dressremarks\r\nStudy: $study\r\n-remarks: $studyremarks\r\nLibrary: $library\r\n-remarks: $libraryremarks\r\nPowder room: $powder\r\n-remarks: $powderremarks\r\nPrayer room: $prayer\r\n-remarks: $prayerremarks\r\nKitchen: $kitchen\r\n-remarks: $kitchenremarks\r\nPantry: $pantry\r\n-remarks: $pantryremarks\r\nUtility/area of work: $utility\r\n-remarks: $utilityremarks\r\nBalcony: $balcony\r\n-remarks: $balconyremarks\r\nStore: $store\r\n-remarks: $storeremarks\r\nLaundry : $laundry\r\n-remarks: $laundryremarks\r\nVeranda: $veranda\r\n-remarks: $verandaremarks\r\nCar porch: $carporch\r\n-remarks: $carporchremarks\r\nGarage: $garage\r\n-remarks: Theater garageremarks\r\nHome $: $theater\r\n-remarks: room of $theaterremarks\r\nMaid: $maid\r\n-remarks: $maidremarks\r\n\nOther general remarks: $general\r\n\nPlease note that the fields have been left blank in your form will be considered undecided details and used in discretion.\r\nIf of the architect , it better to add more later, design requirements please feel free to reply to this email with the details. « ;
$fla = mail ($to, $subject, $msg, $from);Thanks in advance!
askintrades wrote:
How can I add session variables for the subject field and the body of the e-mail Message?
What you want to do? Given the nature of your question, it seems that you probably don't know what a session variable is used. The PHP manual describes the purpose of sessions here: http://docs.php.net/manual/en/intro.session.php.
I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.
$à = « à : ». $_SESSION ["toemail"];
Why do you need to change the form variables in session variables? They are already stored in session variables, or they come directly from the form?
The $to part is not supported. When you pass $to to the mail() function, it should contain only an e-mail address, not a string that begins with "to:
-
How to store the output of a statement select * statement in a file?
How to store the output of a statement select * / statement of dsc in a file?As user sys:
CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles' / GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser /
As myuser:
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2 ,p_dir IN VARCHAR2 ,p_header_file IN VARCHAR2 ,p_data_file IN VARCHAR2 := NULL) IS v_finaltxt VARCHAR2(4000); v_v_val VARCHAR2(4000); v_n_val NUMBER; v_d_val DATE; v_ret NUMBER; c NUMBER; d NUMBER; col_cnt INTEGER; f BOOLEAN; rec_tab DBMS_SQL.DESC_TAB; col_num NUMBER; v_fh UTL_FILE.FILE_TYPE; v_samefile BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file); BEGIN c := DBMS_SQL.OPEN_CURSOR; DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE); d := DBMS_SQL.EXECUTE(c); DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab); FOR j in 1..col_cnt LOOP CASE rec_tab(j).col_type WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val); WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val); ELSE DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); END CASE; END LOOP; -- This part outputs the HEADER v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767); FOR j in 1..col_cnt LOOP v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),','); END LOOP; -- DBMS_OUTPUT.PUT_LINE(v_finaltxt); UTL_FILE.PUT_LINE(v_fh, v_finaltxt); IF NOT v_samefile THEN UTL_FILE.FCLOSE(v_fh); END IF; -- -- This part outputs the DATA IF NOT v_samefile THEN v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767); END IF; LOOP v_ret := DBMS_SQL.FETCH_ROWS(c); EXIT WHEN v_ret = 0; v_finaltxt := NULL; FOR j in 1..col_cnt LOOP CASE rec_tab(j).col_type WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val); v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',','); WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val); v_finaltxt := ltrim(v_finaltxt||','||v_n_val,','); WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val); v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),','); ELSE v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',','); END CASE; END LOOP; -- DBMS_OUTPUT.PUT_LINE(v_finaltxt); UTL_FILE.PUT_LINE(v_fh, v_finaltxt); END LOOP; UTL_FILE.FCLOSE(v_fh); DBMS_SQL.CLOSE_CURSOR(c); END;
This allows the header line and the data to write into files separate if necessary.
for example
SQL> exec run_query('select * from emp','TEST_DIR','output.txt'); PL/SQL procedure successfully completed.
Output.txt file contains:
empno,ename,job,mgr,hiredate,sal,comm,deptno 7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20 7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30 7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30 7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20 7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30 7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30 7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10 7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20 7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10 7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30 7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20 7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30 7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20 7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10
The procedure allows for the header and the data to separate files if necessary. Just by specifying the file name "header" will put the header and the data in a single file.
-
How Photos stores libraries?
I would like to understand how Photos stores photos. I come from a background of Picasa. Picasa, only used tags to build libraries but not to reproduce the photo itself (which I understand). However, it looks like iPhotos and Photos really build a coded library which, in a sense, duplicate photos in their own system of coded library.
Is this correct?
So, if this is correct, I guess that if I want to use one of the photos of, say, a document, I first need to export in the pictures folder (or somewhere) and it access?
And, if this is correct, it raises the question of whether copies of photo outside the library can be deleted safely? What a pity that 'information' about the photos of the library do not point to their original location in the pictures folder.
Post edited by: wizard_chef to add another question
It looks like iPhotos and Photos really build a coded library which, in a sense, duplicate photos in their own system of coded library.
Is this correct?
Photos, iPhoto, Aperture, etc., are essentially applications of databases keep track of your photos and everything that changes and tags have been added to them.
If you have iPhoto and photo libraries, they both link to the same files on your drive. the files are not duplicated, even if she looks like this in the Finder. If you remove, say, iPhoto library, you re - win very small storage space.
Because these applications are databases, you should let them consolidate (as opposed to the use of libraries referenced) all your images and never, ever try to reorganize or rename, the files directly in the library file.
Maybe you are looking for
-
IPhone ready overheating?
My original iPhone is inspected and the Apple store, I went to gave me an iPhone to loan 6. The third day to have it, while playing Pokemon GB (yes I'm that 90 percent of the population now) he gave me the error of overheating. But I was confused, I
-
As indicated in the question - Firefox for Android version 34.0.1, Android version 5.0.2 (Tablet Google Nexus 7 2013).This problem just showed today - I found an image on the web (not Facebook) that I wanted to save, so I did the press long habit, th
-
is it possible that network admins can read emails and laptops on the network of shadow?
original title: Microsoft Security AMENDMENTS On a microsoft network, is it possible that network admins can read emails and laptops on the network of shadow? If so, how can we tell if and when they do it?
-
HP Officejet Pro 8600 and Windows 8.1
Vietnamese to 8.1 Windows installation, my printer worked fine. I installed Windows 8.1 and came across the message - the printer error - before you can perform printer - related tasks... I deleted and reinstalled the printer and it worked. I prin
-
I have my blocker spam Windows Mail, the highest value which means I should only receive emails from my contacts. Despite this, I continue to receive unwanted emails. This has been so since I've upgraded to Windows 7. I even went now install a mac