Session state always invalid after login

Hello community,
i have a functional login process which uses my own login with username and password. After login i branch to application start page, but this session now is different from the start login session, so every login is invalid and will branch to authentication scheme invalid page.
My login url is: f?p=100:100:123456
After correct login (i have tested in the database with a lot of inserts into tmp_table)
i want to branch with the standard login procedure wwv_flow_custom_auth_std.login() to page 1000.
The correct url is shown in the browser, but the current page is the login page 100, because (i think) the session is invalid. In the authentication theme the invalid session page is set to page 100.
I have tested several pages and always this page is branched.
So im shure, that the session state is always invalid after login.
But why ????
Has anyone an idea ?
Thank you for responding.
Frank

Hi Jari,
problem was solved.
The IE8 has cached an invalid site.
I know now were it is come from.
I have an after submit process which sets the cookie with following code:
owa_util.mime_header('text/html; charset=UTF-8;', FALSE);
owa_cookie.send(
name=>'DHW_COOKIE',
value=>utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5(input_string => ':P100_REGCODE' || :P100_USERNAME ))
owa_util.http_header_close;
But this results in display on the screen like html text without tags, so it looks like text on the screen header.
It shows "content-type=text/html charset=WINDOWS 1252 .......
The cookie is not set to the disk and now the IE8 explorer is dead.
The described problem of this thread is shown.
If you close all sessions and restart IE8 then the error is fixed.
Also i have disabled the after submit process with setting the cookie.
So i live now without having a cookie set.
Do you have any idea for this behaviour ?
Frank

Similar Messages

  • Normal Window State of Portlets after login

    Hi,
    I have my application running in Sun Java System Portal Server 7.2
    I have a number of portlets in my desktop.After successfull login I see this desktop with all the relevant portlets. I maximize one of the portlets, it takes the entire screen thereby minimizing/hiding the other portlets. I logout at this stage with one of the portlets in maximized state. Suppose now if I re-login with the same user-id, I see the same portlet in maximized state i.e the user preference is stored. How can I disable this user preference such that after login all the portlets are always in normal state. Any help is appreciated.
    Thanks.

    hi,
    I don't remember exactly and right now i don't have portal server installation.
    As far as i remember you can disable controls of channel, so user will not be able to minimize of maximize and the size will remain same.
    thanks,
    sumant

  • Session State Protection invalid Checksum errors show valid checksum

    Hi,
    I am investigating Session Sate Prtection to let me make my appications more secure.
    I have created a simple Report / Form pair that allows me to open an item for edditing.
    I have set the Application to Session State Protection 'Enabled' and and my form page to Page Access Prtection 'Arguments Must Have Checksum'.
    From my report page I click on the edit icon for a row and I get the edit page with the url:
    f?p=126:3:7115846938209895::::P3_WORK_PACKAGE_ID:1179&cs=3CC0C97D3A8B114D2E40EDF158C0AECFB
    If I then manually manipulate this url, to change my P3_WORK_PACKAGE_ID from 1179 to 1180, to:
    f?p=126:3:7115846938209895::::P3_WORK_PACKAGE_ID:1180&cs=3CC0C97D3A8B114D2E40EDF158C0AECFB
    I get an error of:
    Error The checksum computed on the request, clear cache, argument names, and argument values (P3_WORK_PACKAGE_ID1180 [01BE394775DB7B5A861BEA77B6637A46] ) did not match the checksum passed into the show procedure (CC0C97D3A8B114D2E40EDF158C0AECFB).
    All well and good, but it tells me what the checksum should be. I can now update the url to use the displayed checksum to make the url:
    f?p=126:3:7115846938209895::::P3_WORK_PACKAGE_ID:1180&cs=301BE394775DB7B5A861BEA77B6637A46
    the form opens for P3_WORK_PACKAGE_ID 1180.
    How do I stop the error message telling my how to bypass the checksum security?
    Thanks,
    Martin

    I am not sure but maybe this detailed message is coming if you are logged in to Apex and otherwise it is showing more general error message with no checksum?

  • How to keep up the session state values uncleared after page submit

    hi,
    i am using Application Express 4.0.2.00.07
    and 11g
    i have created a tabular form manually useing apex_items.
    select apex_item.checkbox(1,null) as "check",
           APEX_ITEM.DISPLAY_AND_SAVE(4,line_item_no) as "Line Item No",
           APEX_ITEM.DISPLAY_AND_SAVE(5,line_item) as "line item",
           APEX_ITEM.text(6,module) as "Modulle",
           rstag as "RS tag",
           *apex_item.text(2,null) as "FS Name"*,      --"fsname" and "fstag" are not columns of this table(pli)
           *apex_item.text(3,null) as "FS Tag"*
    from pli where pid = :P17_PID
    order by line_item_no deschere on submit, data gets inserted into the another table(fli),(whixh contains all these columns)
    after the page is submitted it returns to same page,
    i want the apex_items's text fields to retain the submitted values after returning to the same page
    can you tell me how to achieve this.
    thanks,
    Little Foot

    hi,
    can you help me to use this collections,
    i have created a collection processdeclare 
      la_cks wwv_flow_global.vc_arr2;
    begin
      htmldb_collection.create_or_truncate_collection('UPDATEE');
      htmldb_collection.create_or_truncate_collection('INSERTT');
      for i in 1..htmldb_application.g_f01.count
      loop
        if htmldb_application.g_f01(i) is not null then
          htmldb_collection.add_member(
              p_collection_name => 'UPDATEE',
              p_c001            => htmldb_application.g_f01(i),
              p_c002            => htmldb_application.g_f02(i),
              p_c003            => htmldb_application.g_f03(i),
              p_c004            => htmldb_application.g_f04(i),
              p_c005            => htmldb_application.g_f06(i),
              p_c006            => htmldb_application.g_f07(i),
              p_c007            => htmldb_application.g_f08(i),
              p_c008            => htmldb_application.g_f09(i));
        else
          htmldb_collection.add_member(
              p_collection_name => 'INSERTT',
              p_c001            => htmldb_application.g_f01(i),
              p_c002            => htmldb_application.g_f02(i),
              p_c003            => htmldb_application.g_f03(i),
              p_c004            => htmldb_application.g_f04(i),
              p_c005            => htmldb_application.g_f06(i),
              p_c006            => htmldb_application.g_f07(i),
              p_c007            => htmldb_application.g_f08(i),
              p_c008            => htmldb_application.g_f09(i));
        end if;
      end loop;
    end;            then when creating a report on collections i am unable to proceed,
    in sql report i used select apex_item.checkbox(1,null) as "check",
           APEX_ITEM.DISPLAY_AND_SAVE(4,line_item_no) as "Line Item No",
           APEX_ITEM.DISPLAY_AND_SAVE(5,line_item) as "line item",
           APEX_ITEM.text(6,module) as "Modulle",
           nvl(rstag,APEX_ITEM.text(7,null)) as "RS tag",
           apex_item.text(2,'klklk',null,null,' readonly="readonly" ') as "FS Name",
           apex_item.text(3,null) as "FS Tag"
          from htmldb_collections
    where collection_name = 'UPDATEE'says rstag invalid indentifier...,
    can you tell me how to use this collections to achieve my purpose.
    i tried http://www.oracle.com/technetwork/developer-tools/apex/tabular-form-090805.html
    so i need to use collections in this way only...!
    can i make collections to just collect values from two columns and then put those values to the respective rows in their columns...!!!
    guide me to achieve my requirement.
    Thanks,
    Little Foot
    Edited by: Little Foot on May 10, 2011 5:00 AM

  • On new session after login procedure and :APP_USER

    Hi,
    I need to get some info using :APP_USER on a new session after login procedure but it's always null:
    I'm referencing it this way:
    my_var := :APP_USER;
    Any help is wecome
    For the forum moderator, I got some problems, could you please close 2 of my repeating treads. Thanks
    Message was edited by:
    Rafael M

    Hi Scott,
    I am facing the same problem. I have created one application process with process condition On New Session: After Authentication. In this application process i am checking for :app_user in particular table, if the person does not exist i am inserting a record in to the table. But every time :app_user is having null value with On New Session: After Authentication process condition. It is working fine for remaining process conditions.
    Thanks in advance for your help
    Regards
    Ram.

  • Losing session state after error page

    Hi there,
    I'm kinda new to all this so please bear with me.
    I've created a little app in HTML DB using the Oracle 10g XE database. The app is now in production and working ok. I do however have one issue that I am unable to resolve. The problem is this.
    If the user encounters an untrapped error on a page, e.g. they type in more data than the database field allows, then an error message will be displayed on a separate page, with an OK button. When they click the OK button, they are taken back to the page they came from, but any data they had typed in is gone. As you can imaging this is quite frustrating for the user. I know that this feature does work correctly (i.e. your data is retained), as I've seen it working on one of the demo applications. However, I'm at a loss at to what controls this behavior. Does anyone have any idea what setting I might need to change to get this working?
    Additional Info: When I call this page initially, I do clear session state for the page I am going to (using the f?p syntax), as I want the page to be blank when the user has clicked on the create new record button. Perhaps this in causing the session state to be lost when I navigate back there after being on the error page. If this is the case is there some way I can stop it from clearing session state for the page it is returning from the error page?
    Regards
    Joe Kennedy

    Scott,
    I have created the application on online as you suggested. I was unable to login to the application with my username and password so I deleted the login page and security scheme and accepted the default login page. The really wierd thing is it works as expected, i.e. when I get the error and click ok, the data is still on the page as I entered it. That means there must be something wrong with my setup on my PC, but I don't know what. I will try dropping and recreating the appication from scratch to see if that will fix it. Could it have something to do with the security scheme? That is the only thing I changed with the version I created online.
    Thanks
    Joe.

  • Nothing set in session state after upgrade to 4.0.2

    hi -- I just patched up to 4.0.2 from 4.0.1. When I run my applications (any of them) nothing is showing
    in session state -- application items or page items. I don't think it's just an issue w/ the "session"
    reporting functionality because I'm also getting errors that indicate that values are not being set.
    Unfortunately, I did not export applications before the upgrade, or back up the database (though we
    have one from last night...).
    Help? Just want my apps working again!
    Thanks,
    Carol

    hi -- Well, you're on target:
    - I am using custom authentication (and apps that don't use it seem to work fine) - & -
    - The applications in question work fine when run directly.... that is, not via the developer.
    Unfortunately, I'm still having the problem after applying the patch. Actually, just once it did
    work... this was after I first applied the patch: I completely rebooted my machine and when I
    first went into the developer and ran it w/o doing anything else first, I didn't have the problem. Every
    time thereafter I have had the problem.... including after rebooting again.
    I have no reason to suspect the patch didn't work... very simple patch, no errors.
    For what it's worth... I can't say that I entirely tracked everything in the thread you pointed me to
    about sessions getting mixed up, but it does look like the session ids for developer vs the applications
    I'm running in developer are consistent throughout (at least, based on what I see in the URL). Is it
    normal that when I run an app via the builder, that the session_id that shows up on the login page
    is the developer session_id? A new session_id then shows when at the home page of the application...
    Any other ideas? Absolutely nothing is showing up in session state, anywhere. I'm very frustrated....
    I'm almost at the point where I want to use our latest database backup and revert back to 4.0.1. It doesn't
    have what I (apparently) need to get master/details working as I need them to, but at least I can proceed with
    other development!
    Hopefully there's an easier solution.
    Thanks,
    Carol

  • Can't Set Session State from the Login Page

    I have a dilema. On the standard login page I enter values in 2 fields namely, CAMPUS (Select List) and USERNAME (text field).
    After clicking on the login button I want to navigate to PAGE 1 and use the values of CAMPUS and USERNAME to filter data. I have created two APPLICATION Level items (A_USERNAME,A_CAMPUS) to which I assign the values of USERNAME and CAMPUS in two AFTER SUBMIT computations on the login page.
    When I arrive on PAGE 1 the session state values of A_USERNAME,A_CAMPUS are still both null therefore the query returns null. It seems that the login process does not issue a SUBMIT for session state to be saved. How do I save the values in session state on login?
    In the Login PROCESS, can I specify the Page 1 items to be set and the values to set them in a URL somewhere? Is it here?
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1' <<========here?
    If so what is the correct syntax?
    If I revisit the login page a second time, a submit is issued and the values are set in session state.
    Anyone got any ideas??
    I tried creating a standard position button which issues a submit but this didn't work either.
    regards
    Paul J Platt

    Unfortunately your solution is causing problems with retrieving cookies that I try to get for the campus and username during a "Before Header Process" as well. The cookies are normally set on an "After Submit" process. When I return to the login page I get
    Error ERR-1029 Unable to store session info. session=10760914996048113736 item=8561939526127479
    ORA-02291: integrity constraint (FLOWS_010600.WWV_FLOW_DATA_FK) violated - parent key not found
    But if I turn the cookies off, it seems to work OK.
    regards
    Paul JP

  • I have previewed my book but after cliking BUY BOOK it compiles it OK but then it always states an error after of during uploading it to the store.  How can I rectify this?

    I have previewed my book but after cliking BUY BOOK it compiles it OK but then it always states an error after of during uploading it to the store.
    How can I rectify this?

    I have previewed my book but after cliking BUY BOOK it compiles it OK but then it always states an error after of during uploading it to the store.
    How can I rectify this?

  • Session State Values Only Used After a Page Refresh

    We recently moved our application to use Oracle Application Server. I don't know if this is an issue but I thought it might be relevant to my question.
    In this application there is report that has a link to another page. This link sets the ID of the company that the subsequent pages use to provide several summarized reports with drill downs. I'll call this the main page.
    Users recently started to report that when they drill into the details and use the breadcrumbs to get back to the main page, that page will display the wrong company, one they were viewing recently.
    In testing I find that when I click a link to drill down into the details the details page is not for the right company. I check session state and the value of the ID is correct. If I refresh the page I then get the correct drill down page. Some of the drill down reports will pass a page specific ID into each page and others will just reference the ID from the main page. Not sure if this is relevant since the breadcrumbs to go back to the main page would not be able to use every possible page specific ID, my understanding was that once I set the ID in session state on the main page I could rely on it.
    Also if I get the wrong details page and click on the breadcrumb to the main page I get the wrong main page (it displays a previously viewed company). Again the session value is correct and a refresh of the page will bring back the right company.
    Our systems admin was asked to check if we had WebCache on and she said it was not. Is there something else that could be caching the results of these pages?
    Thanks,
    Greg

    Scott,
    This is in version 2.2.1 and there are no caching features available.
    The application does require login.
    I'm playing around with the APP_UNIQUE_PAGE_ID right now but I am finding that even in the builder if I edit the attributes of a report column and then try to edit another column it will bring up the last column I edited. Even if I use the record navigation buttons next to the Apply Changes button it will keep bringing me the same page over and over unless I constantly refresh the pages.
    Greg

  • OSX 10.9 Mavericks is there any way to hide servers which always appear in finder after login (hide login items doesn't work as stardered)

    hi all my boss has just got himself a nice new mac and wants to connect it on to my windows domain at work, no problems there it’s all connect fine, one thing we done was to map a few of our network drives on our domain so he can easily load them to his mac, works great when it’s on the domain however when he goes home and logs in for each mapped drive it throws up a window saying it can’t connect or when it is connect opens up every drive, even after disabling them at login, now on the apple website the text reads "if you don’t want an item's window to be visible after login, select hide. (Hide does not apply to servers, which always appear in the finder after login), does anyone know any work around that can maybe solve this or point me in the direction where I can find one.
    Cheers
    Gordon
    Network Admin
    BPDZenith

    hi all my boss has just got himself a nice new mac and wants to connect it on to my windows domain at work, no problems there it’s all connect fine, one thing we done was to map a few of our network drives on our domain so he can easily load them to his mac, works great when it’s on the domain however when he goes home and logs in for each mapped drive it throws up a window saying it can’t connect or when it is connect opens up every drive, even after disabling them at login, now on the apple website the text reads "if you don’t want an item's window to be visible after login, select hide. (Hide does not apply to servers, which always appear in the finder after login), does anyone know any work around that can maybe solve this or point me in the direction where I can find one.
    Cheers
    Gordon
    Network Admin
    BPDZenith

  • Agent going to ready state after login

    Hi guys,
    I have UCCX 5.0(2) and I would like to force agent to go to state ready after login. There were some posts on this topic and they suggested to play with workflow:
    1. add add action agent ready at startup - for this I get: "Error on Startup Event. Error Message: An Agent State Action may only be used on Answered and Dropped Events."
    2. add macro - record putting agent in ready state (keystroke Ctrl +W). This I can do, but agent gets error during login: " Could not execute Macro Action. Unable to playback to windows program."
    Did you have similar problems? Did you solve it and how? Or maybe you have some other idea how to force agent to go in ready state after login?
    BR,
    Jelena

    Hi,
    Problem An agent using Windows XP was able to start Agent Desktop, but was
    not able to enter an active state.
    Solution Windows XP can be configured so that the Internet Connection Firewall
    (ICF) is active. ICF acts by keeping track of all traffic to and from the
    computer; it will only allow information through that has originated from
    that particular computer. If a message originates from outside the
    computer, it will be discarded.
    To solve this problem, either turn off ICF (requires someone with
    administrator rights to the computer) or override the defaults to include
    known “good” connections like the CAD servers.
    And also, is it by any chance happening during a failover or failback scenario in a High Availability (HA) setup?
    If its a HA setup, did you install this CAD after the HA setup is made i.e. the CAD has the entries for the ip address of the both the nodes.
    Hope it helps,
    Anand

  • DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.

    All Im very new to Oracle DRM and Im trying to get the app setup on Windows server running SQL Server 2008.  When I try to login to the Web Client I keep getting this error.
    DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.
    Can you please help

    This might be due to The 'Oracle Instance' path may not have been set to a path relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine) on the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
    if this is the case then
    1. Open the DRM Configuration Console.
    2. Go to the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
    3. Ensure that the path in 'Oracle Instance' has been set relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine defined in 'CSS Bridge Host').
    4. If corrections are made to 'Oracle Instance' then restart the DRM services to pick up the change.
    Thanks,
    ~KKT~

  • Gnome: Volume ist after login always down.

    Hi!
    Always when I login in gnome, the volume is down.
    How can I do it, that it is always up, or safes the last state.
    Thank you
    benny

    Here is a link to the wiki for ALSA. The information you need is there.
    http://wiki.archlinux.org/index.php/ALSA_Setup

  • Edit session value after login

    I would like to edit the session value of a session that is set after a user logs in.
    Problem:
    I have a field 'date of birth' in my database: yyyy-mm-dd, but i need the age value instead in the session.
    I know how to calculate this but that is not the question, i need to know where to edit this value so that after a login the session is set to the age of the user instead of his/her date of birth value from the database.
    I hope you understand.
    Can someone please help me out...
    Thanks,
    Jim

    Hi Jim,
    <br />
    <br />nope, Adobe/Interakt are not participating here.
    <br />
    <br />However, I do *think* that converting these values *upon* login seems quite weird to do -- ADDT´s session variables are based on the "as is" contents of DB table fields, and what you´re asking for is a very special usage scenario which was even never asked for in the Interakt forums, so that´s why assumingly other forum particpants reading this keep scratching their heads as well.
    <br />
    <br />The only approach I can suggest for now, is to convert the session variables *after* login, and that´s quite easily possible -- on that very page that´s going to display the banner, it should be possible to initialize the abovementioned "calculate age from birthday" conversion routine and assign the session variable "current_age" to the PHP variable "$birthday_user", e.g. $birthday_user = $_SESSION['current_age'];
    <br />
    <br />Once you have this clearly assigned, all you´d have to do is to apply a "Show IF conditional region" that´s checking against the $birthday_user value, e.g.
    <br />
    <br /><?php<br />// Show IF Conditional region_check_user_age<br />if ($birthday_user < 20) {<br />?>
    <br />display banner for folks under 20
    <br /><?php<br />// else Conditional region_check_user_age<br />} else { ?>
    <br />display banner for folks older than 20
    <br /><?php }<br />// endif Conditional region_check_user_age<br />?>
    <br />
    <br />As the line breaks in the code posted above will most likely disappear as before, I´m attaching a text-only version
    <br />
    <br />Cheers,
    <br />Günter Schenk
    <br />Adobe Community Expert, Dreamweaver

Maybe you are looking for

  • Pdf showed in new window. Help needed!

    Hi all, This is my first post (but a thousand read), and i want first to thank you all for all the information i have read in this forums for years. I have a problem which is giving me more problems that i expected. In my webapp, i want to show a pdf

  • Include field u201CXREF1_HDu201D from "BKPFu201D table while posting or Parking Docs

    Hi, I want include one additional field while posting or parking any accounting document. The field i want to include is from u201CBKPFu201D table and field name is u201CXREF1_HDu201D . This is at Header level. Please advise as to how i can achieve t

  • Issues opening large PDF files.

    Hi, we have a department that keeps producing large reports. These PDF files exceed 200mb. Is there a way to compress or speed up the opening process in Adobe Reader? I'm doing some testing with a 200mb file now and it's still trying to open after 30

  • Linking oracle tables with access form

    I am trying to use microsoft acess forms to access oracle tables. pls where can i get sql.net to connect microsoft access from the client to oracle on the server machine using ODBC. Thanks

  • Dynamic change x/y position of fields

    How can i change at runtime the x/y position's of the fields in reports. Is there any way to do this? Example: when i have a invoice report, i want to change the x/y position of the adres-box. Thanks for your reply. GJ