Session state is not passed correctly to another page
Hello gurus,I have a several page application that authenticates using authentication simple page 101. At this moment I have a generic authentication scheme which always returns true (Session check function = return true;) I've integrated LDAP later.) It works very well. The app reminds the user of a page name to another (especially for pages in popup).
My problem is that after the export the application and re - import into a new workspace, session/user's State is is more preserved from page to page. It prompts for a login to each new page that opens (popups). It ruins the flow and the features of the application.
I checked all the settings (I think) and can not find all the differences between the two workspaces or applications. Any ideas why this would work in a workspace and not the other?
TIA!
Jonathan
I must also indicate that the question seems to be specifically by calling the function "callmypopup". For some reason it didn't is not passing the session id correctly to the popup page, where he has done well in the other workspace. text of the function:
function callMyPopup (sourceItem popuppagenum targetItem, appid, appsession) {}
Opens a popup page and passes the value to sourceItem to targetItem
SourceItem = area text appeal, targetItem = text box in the page popup
var minlength = 3;
If (CheckLength (sourceItem, minlength))
{
var formVal1 = document.getElementById (sourceItem).value.toUpperCase ();
var url;
URL = ' f? p =' + appid + ':' + popuppagenum + ':' + appsession + ':' + targetItem + ':' + formVal1;
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
If (w.opener is nothing)
w.opener = auto;
w.Focus ();
}
else {alert ("'Please enter at least' minlength + ' characters in your search.") ;}}
}
Published by: austindurant on September 5, 2008 07:02
Published by: austindurant on September 5, 2008 07:46
It looks like your session id is not passed correctly to your popup page. Try using:
JavaScript:popUp2('f?p=&APP_ID.:1:&session.:::',_600,_700);
Instead, which does the same thing. Put here your settings for the elements of the page if necessary.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
-------------------------------------------------------------------
Tags: Database
Similar Questions
-
Firefox will not direct me to another page when the track orders on amazon or ebay... you keep blocking this... then how am I supposed to check on my articles...
There should be a button that allows the browser to continue.
-
Session state is not saved.
Hi guru, et al..,.
I use tabs (i.e. the navigation tab list) for updating a line. When I update a component, and then click a tab to go into another section of data, the item does not save the updated value when I return to the element via the tab (I checked the session)
DB: 10g Rel 2.3
APEX: 4.1.2
I put the application on the APEX. ORACLE.COM:
Workspace: RGWORK
Application: CSRSR (60220)
Username: TESTER
Password: test123
Page: 8
1. run applications
2. click on the only available choice (Creative Services Design) in the menu
3. modal page of requests pending
4. click on icon to the left of zazaza change
5. change the title of the project
6. click on another tab such as delivery or object, and then click Project
7 value is the original value.
What I am doing wrong?
Robert
http://apexjscss.blogspot.comThe links in the navigation list tabbed accomplish redirects URLS rather than submit the page, so nothing is saved in session state.
To save the values of the list of items must send the page using query values that are used to conditionally branch to the pages needed.
-
With multi-page session state does not save
Hello
I built an online form using apex that has 4 pages. The first 3 pages save in a session state on the last page running a process that inserts the data of 4 pages in the table. The first 3 pages are set to present an update of SQL.
The issue I'm having is that when I want to go back to a page within the session using the previous buttons, I created, the values of the previous page is no longer present in the fields (all fields are now empty). I got to the origin of the previous button to submit and then redirect to the previous page when clicking on the value. Then I tried just to set the button to redirect to the previous page without presenting and then it does not still work. Anyone know what could be causing this? Your help is very appreciated.
Thank you
MICAHHi Mika,
Have you checked the source of the page elements in your form to make sure that they are not using "Always replace any value stored in session state". If this field is selected in the menu drop-down, then they will be wiped off.
Thank you
Paul
-
JavaScript: to pass values to another page
Hi all
I HAV an interactive report. If I clik on a particular line, who has the rank of values must be sent to another page (via javascript)
I found this forum https://forums.oracle.com/thread/2467579 in which they hav used to send mail.
but I wanted to pass those values to another page throug javascript bz, I HAV installed a nd wrking her under right clik plugin.
my javascript function is,
function func (action, el, pos)
{
Window.Location ="http://apex.oracle.com/pls/apex/f?p=71510:2: & SESSION.: 2:P2_X, P2_X2:'+ $(el).children('td[headers="EMPNO"]').text () + ',' + $(el).children('td[headers="ENAME"]').text ()";
}
Here I HAV it redirected to page 2 and on the 2nd page I HAV 2 elements used to get these values.
$(el).children('td[headers="EMPNO"]').text () + -> is to fetch the empno of that particular line and the same for the name.
But if I click on the right button clik, no action that happens...
but his work well, if I use the function as,
function func (action, el, pos)
{
Window.Location ="http://apex.oracle.com/pls/apex/f?p=71510:2: & SESSION. » ;
}
so somewhere will not passing the values in the URL, I guess...
and I HAV used al d above things in
http://Apex.Oracle.com/pls/Apex/f?p=71510:1 (username: test / paswrd: pex14gm)
pls help me...
Thanks in advance
Try like this.
function func (action, el, pos) {}
var empNum = $(el).children('td[headers="EMPNO"]').text ();
eName var = $(el).children('td[headers="ENAME"]').text ();
Window.Location = "http://apex.oracle.com/pls/apex/f?p=71510:2: & SESSION.: 2:P2_X, P2_X2:" + empNum + ','+ eName; "
}
It looks simple and neat.
If you still get no view me details of the workspace.
-
Value of the URL parameter with: do not display correctly on the page
Hello
I'm working on a page with an interactive report. One report column is a hyperlink to another page (Page deletion). This link goes to an id and a title page delete such as its poster a confirmation message to the end user before to actually delete it. If the title contains a ': ' the text after the ":" is not displayed on the page (visible in the URL on top)
Is it because that the ': ' separates parameters in a URL to the APEX and, therefore, the text after the ': ' is considered to be the following URL parameter?
How can we solve this problem?
Kind regards
Priya JetleyA solution should be not only not to work with the parameters in the URL.
Simply a process to pass values from one page to another as is:
BEGIN
IF: REQUEST = 'TEST' THEN
P2_ID: = P1_ID;
P2_TITLE: = P1_TITLE;
END IF;
END;In this case, your problem is solved, and it is safer because the user does not see what id is passed and can not manually put the id in the URL...
-
Identifier however not passed correctly with nxWriteFrame()
#define CAN_FRAME 0x00
#define NORMAL_FRAME 0x00u32 ID = 0x18FC9FFE;
OutputSingleFrame (ID, CAN_FRAME, NORMAL_FRAME, "ABCDEF0102030405");void OutputSingleFrame (u32, Type u8, u8 flags identifier, char * PayloadString)
{
int i = 0;
Info U8 = 0; Not used in CAN. A value of zero.Allocate memory for payload and the framework
U8 * payload = (u8 *) malloc (g_payloadLength * sizeof (u8));
nxFrameCAN_t * l_pFrame = (nxFrameCAN_t *) malloc (sizeof (nxFrameCAN_t));Convert the string to byte array
for (i = 0; i
{
sscanf(&PayloadString[i*2],"%2hhx",&Payload[i]);
}Create the frame
InitFixedCANFrame (l_pFrame, ID, Type, flags, Info, payload);Create session
g_Status = nxCreateSession ("J1939", "Cluster", "", "CAN1", nxMode_FrameOutStream, & FrameOneShot);
If (g_Status! = nxSuccess)
{
MessagePopup ("NOR-XNET Status","unable to create FrameOutSinglePoint session in OutputSingleFrame." ");
}Do check setting and error
g_Status = nxWriteFrame (FrameOneShot, l_pFrame, sizeof (nxFrameCAN_t), 0);
If (g_Status! = nxSuccess)
{
MessagePopup ("NOR-XNET Status cannot write the image using OutputSingleFrame." "," ");
}Closing a session
nxClear (FrameOneShot);Free memory
Free (Payload);
Free (l_pFrame);
}I went out a framework using nxWriteFrame and the Raw image format. When I do that, the identifier gets sent as 0x7FE instead of the one specified in the first line of code. The Raw image format seems simple enough, so I don't know what is missing here.
The data occurs correctly (in CANalyzer) so it is apparently be displayed as a standard CAN frame instead of a J1939 framework extended despite the extensive forest set in the code.
NOTE: InitCANFrame() comes from the NOR-XNET - Helper.c included with OR XNET file. It copies just the fields in the right struct members.
For extended messages are you ORing your ID with 0x20000000
http://digital.NI.com/public.nsf/allkb/2FA120A37EDBC51D86256854004FB0C7
http://digital.NI.com/public.nsf/allkb/D652EFA532C0D1AF862574F70071EB4C
-
Firefox not open correctly the web pages
If you use firefox I'm unable to open web pages correctly, I use talktalk.co.uk as my home page, it has always worked before, now all I get is a string of words, this also applies to many other web pages. Yet on the Internet explore page opens correctly. Using Firefox 11
Hello
Please check if this happens in a new profile. If the new profile is correct, you can later copy the necessary personal data of the old profile. Firefox stores your personal data and settings in a different location (folder profile) separated from its files/folder. A new profile would have default Firefox settings in Tools (Alt + T) > Options and topic: configand generally would also void of Extensions and themes (appearance) in Tools > modulesand their parameters. In addition, a new profile would have no previous stored site cache, cookies, data, preferences etc. (Tools > clear recent history).
-
Whose action command button does not redirect me to another page. Why?
Hello
I have a command button in a jspx page and an unlimited workflow with two pages, where there is a rule of flow control between them, which needs to redirect the user from the first page to the second page. However when the user clicks the button, the updated page actually without having to navigate to the second page. Why does this happen?
Here are the details:
ADFC-config:
<-flow-control id rule = "__42" >
<-activity-id id = "__43" > first < /-activity-id >
< control-flow-case id = "__44" >
< result id = "__49" > go < / de-results >
<-activity-id id = "__45" > second < / to-activity-id >
< / control-flow-case >
< / control-flow-rule >
command button:
< af:commandButton text = 'Go' id = "cb1" action = "go" / >Well, can you give more details?
Jdev version?
You start the app with a url ending with ".jspx' by chance?
If so, you must remove this ".jspx" ending as it does not start the workflow.Timo
-
Passing values to another page
Hi all
I created a search page and a page update.
In the results of advanced table Variable name is a link and set the Destination URI of property as
{& varId={@VariableId} & retainAM = Y'
Now when I click on the link to the name of the Variable to a single row in the results table, it navigates to the Update Page but displays all rows in the table of results.
How to get a data row on the next Page?
I tried the exploration to the exercise of the deatisl downwards, but still not solved.
Thank you
SKHi Patricia
Went through your page. The error was that unique selection of the Update Page results Table was the link with XXLCVariablesVO while rest all columns of the table were attached with XXLCUpdVariablesVO.I have created selected under this VO and attached to single selection. This solves the problem.
I hope that helps!
Thank you
AJ -
Firefox has stopped working properly, some time ago. I had to go back to IE, which seems to work fine, although I'm used to Firefox. All Web pages, at the opening of transit across the screen to the right and disappear, with the exception of height thumpnail display associated with the lower toolbar. I tried several times to download Firefox. Always with the same result. I am running Vista 64 bit on this desktop computer.
Try:
-
Can not pass Windows XP logo page, receiving STOP: 0x0000007B
When I start my computer, it shows the Windows XP logo page then goes to other pages indicating that he met with a problem. He tells each run in safe mode, safe mode with networking, the step of configuring the stage or start windows normally. I tried every step but keep coming back to this page. I have the original OS drive provided with the computer and the key code. I went into the bios and change the boot to cd sequence. When I put the cd in, the cursor blinks and my cd player lite flashes but then it goes back to the same page with the same options. Help. I have important programs and files that I need to get
Hi dragonheart058,
Read the following article about your error:
http://support.Microsoft.com/kb/324103
I hope this helps!
-
The normal display of the torch screen is shortened, the top of the page you are looking at is then repeated at the bottom section. Allow about 3/4 inch
7, I made a new upward with the desktop software. Then, I removed all the info on the phone, then upgraded to reinstall the operating system. After that, I did a restore my files and programs. After the start, I did a battery pull. I think I can consider the issue RESOLVED because it plays as it should since Sunday
-
passing parameters to another page
Hello
I have a page of creation that creates a new entity. After you have created, the page will change the page. I want to spend the ID attribute of the newly created entity to edit the page.
How to do this. ?
PS: I use Jdeveloper 11 g and the faces of the ADF.
Thank you.Hello
You use the workflow?
Check this.
http://download.Oracle.com/docs/CD/E15051_01/Web.1111/b31974/taskflows_parameters.htm
Arun-
-
Passing a value of item to another page via the button set to redirect to the page
Hello
I'm new to APEX and I develop an application to manage Oracle database user accounts. I have a (8) page that has text elements for the user name and the database name. I have a submit button (this works very well) who deliver... the ALTER USER statement to reset his password and unlock the account. I have another button that if:
- get the value of username - P8_USERNAME
- assign to an element of application - FIND_USER_IN_DB
- redirect the page application - page 11
The issue is that FIND_USER_IN_DB does not get filled and page 11 which is a simple report with the following query:
SELECT *.
OF valid_db
WHERE username =: FIND_USER_IN_DB;
How to achieve this?
Thanks for your help.
Steve
A page redirect is actually nothing more than the rendering of an anchor tag or call apex.navigation.redirect. The link provided by these is generated when the page is rendered. Thus, when the page is rendered (in charge) and P8_USERNAME session state is NULL, then the link will be an empty value. There is nothing sad about the fact that when you change the value of the element on a page that session state will not change automatically and it's just about understanding session state.
Let's say that you will present the session before the redirection if status point. Would it change anything? N ° the link, as I pointed out, has already been made, and no substitution of session state not be made on a redirect.
You'd better be off by submitting the page via the button instead of a redirect. This will set the session state of your object to the desired value. You can then use a branch to redirect to the correct page setting the value of an element whose state of session of P8_USERNAME. You can even choose to use a process or a calculation to set the value of the application instead of by a link element, so that you can keep the application not manipulable by the user element.
Maybe you are looking for
-
How can I save my favorites SORTED? As soon as I restart, all kinds disappeared.
Can I pay my entire list of bookmarks by name, but then I restart Firefox, they all involved again! I want that all FOLDERS sorted, so I can find them more easily. The list now has folders, then some URLS not in the folders, files more, etc. several
-
Multiple instances of firefox in the Manager of tasks but FF does not open
-Windows XP SP3 (updated with all critical updates)-FireFox 25.0.1 (Note: originally, I had version 31, but there are a few days that has stopped working)-Norton Security Suite (version of comcast) up to date-J' have IE6 and Chrome 37 like browsers (
-
Control Panel... Help and Support... do not work... I get this message on both of these and other:Rundll32.exe not found Application...When I try to access some also uses Open with open... This has not happened before... I think I lost something that
-
Printer want 4504 - cannot parse a document
My wireless HP Envy 4504 printer keeps telling me that it cannot find my computer even tho ' it is connected to the Internet. I've scanned something once before and can see no reason why it does not allow that.
-
GridFieldManager encapsulates no text at the end of the screen
Hi all I've implemented a GridFieldManager in my BlackBerry (OS 5.0) application. My GridFieldManager contains 5 rows and 2 columns. The first column contains an image of the ball, and the second column contains text. For some reason, the text is