Cannot set the cookie with owa_cookie at APEX

Hi all

I'm trying to set a cookie in the same way as APEX done on the login page:
Process page
Type: PL/SQL anonymous block
Point process: submit now - after calculations and Validations
begin
owa_util.mime_header('text/html', FALSE);
owa_cookie.send(
    name=>'LOGIN_USERNAME_COOKIE',
    value=>lower(:P101_USERNAME));
exception when others then null;
end;
I am able to read this cookie with owa_cookie.get and I'm able to show the value on the page.

However, when I try to put a similar code on the actual page, it is not set the cookie. I get the message of success of the process of page , but there is no set of cookie. I tried this example hard-coded:
begin
owa_util.mime_header('text/html', FALSE);
owa_cookie.send(
    name=>'TEST_USERNAME_COOKIE',
    value=>'Test_User');
exception when others then null;
end;
I read the documentation of OWA_COOKIE, but that did not help. I also couldn't find anything in the user's Guide for the APEX.
Can someone give me a clue on whqt that may be the reason?

I work with DB 11 g and APEX 3.1.0.00.32.

Thanks in advance, Wouter

Wouter:

I suspect that the HTTP header is re-initialized somewhere after your process page sets the cookie. Your page is supposed to the branch back to itself or branch to another page? Add these 2 lines of code for the cookie setting process. Adjust the value of "page_to_branch_to" as being suitable.

apex_application.g_unrecoverable_error := true;
owa_util.redirect_url('f?p=&APP_ID.:page_to_branch_to:&SESSION.');

CITY

Tags: Database

Similar Questions

  • Cannot set the restore point with the error "The Volume Shadow Copy service used by the system restore does not work."

    Cannot set the restore point with the error "The Volume Shadow Copy service used by the system restore does not work."  How can this be repaired?

    Hi rebick,.

    Try the troubleshooting steps presented by spirit X in this thread.

    Dena
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.

    Hi all

    I tried provide access to filter the group in both SSP and thru Maxl command but still get the error below. Any experience of this problem? If Yes, please let me know how you solved this problem.


    ERROR - 1051414 - cannot set the role of group with shared services [30:1101:JNDI error] error.


    Thanks in advance!

    Krishna

    Read the support document that I posted the link, prior to changes for openldap ensure you that it is saved.

  • I'm doing slideshows to music with an opening, I would switch to LR, but you cannot set the duration of each slide (in my case the score) based on listening to the music. (In the opening by clicking on the "stopwatch" and pressing enter at each change of

    I'm doing slideshows to music with an opening, I would switch to LR, but you cannot set the duration of each slide (in my case the score) based on listening to the music. (In the opening by clicking on the "stopwatch" and pressing enter at each change of image). Adobe staff question: can I expect to find this option in a future release?

    Hi Pcaubi,

    There is no such updates for the same from now.

    I suggest you to please put in a feature request to: Photoshop community customer family

    Kind regards

    Tanuj

  • Satellite M100: Cannot set the resolution 1368 x 768 on external LCD screen

    Satellite M100-179
    Graphics - ATI x 1400 card.
    Cannot set the resolution 1368 x 768 on connected usung Sub - D LCD TV Samsung 32R72
    There is no resolution 1368 x 768 in the available resolution list.

    The graphics card hardware support different screen resolutions, but if the driver doesn't contain this resolution of the screen so that you cannot choose it.
    I think so you re not able to choose this special resolution on the external display.

    In my opinion it has nothing to do with the graphics card or with the screen, but only with the graphics driver.

  • How to set the cookie-http-only

    Hi all

    We run Oracle Weblogic 12.1.1 on Windows 2008 Server.

    The server is used to host an application required by Documentum.

    For a feature in Documentum to work, we must define "cookie-http-only" false. This is an applet which allows the user to select a local file and upload to the server.

    Oracle documentation says I should change 'weblogic.xml' and so I made the following changes:

    < session descriptor - >

    < http-only cookie > false < / http-> cookie

    < timeout-dry > 3600 < / timeout-dry >

    < 60 > invalidated-interval-dry < / invalidation-interval-dry >

    < name > ADMINCONSOLESESSION < / cookie-name >

    -< cookie-max-age-dry > 1 < / cookie-max-age-dry >

    < url rewriting compatible > false < / url-rewriting-enabled >

    < / session descriptor >

    I found the file in the following folder:

    %WEBLOGIC_HOME%\ wlserver_12.1\server\lib\consoleapp\webapp\WEB-INF

    I found files with the same name in the following directories too, but I didn't touch them:

    %WEBLOGIC_HOME%\wlserver_12.1\server\lib\consoleapp\consolehelp\WEB-INF

    %WEBLOGIC_HOME%\wlserver_12.1\server\lib\consoleapp\consolehelp\WEB-INF

    After this, I restarted the Weblogic Server. However, the issue in Documentum is still there, and they claim that it is from Weblogic.

    Is, I followed the correct procedure to set the "cookie-http-only"? ".

    Thanks in advance,

    Nocolas thanks for the tip.

    You were right. Changes should be made in the file weblogic.xml located in the application folder, which is my case ' D:\Documentum Apps\taskspace\WEB-INF '.

    I made the changes and restart the server and then the problem is resolved.

  • Cannot set the configured property "/ Initial.initialServices".

    Hi all

    I'm getting following error.

    05:21:52, 006 INFO [STDOUT] cannot set the configured property "/ Initial.initialServices" atg.nucleus.ConfigurationException: could not resolve the component/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet

    05:21:52, 013 INFO [STDOUT] * error

    05:21:52, 064 INFO [STDOUT] cannot set the configured property "/ Initial.initialServices" atg.nucleus.ConfigurationException: could not resolve the component/com/progiweb/fbconnect/pipeline/FacebookProfileRequestServlet

    I checked the path of configuration of two components and the structure of the servlet is as below.

    src/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.java and src/com/progiweb/fbconnect/pipeline/FacebookProfileRequestServlet.java.java

    For properties files I created them under the path - config/atg/dynamo/servlet/dafpipeline / config/atg/dynamo/servlet/pipeline

    Inside of these I keep the files FacebookAuthStatusServlet.properties and FacebookProfileRequestServlet.properties

    The Initial.properties is as below - config/atg/dynamo/servlet/Initial.properties

    The content of Initial.properties is-

    & initialServices =.

    / ATG/Dynamo/servlet/dafpipeline/FacebookAuthStatusServlet,.

    / ATG/Dynamo/servlet/dafpipeline/FacebookProfileRequestServlet


    Should I have to keep the two pipelines-dafpipeline and pipeline or one of them?

    And my pipeline structure is correct or not?

    How to solve the error above?

    Please help on this!

    Kind regards

    Prateek

    You seem to be confusing core components and classes Java.  They are completely different.  The error message that you get "Unable to resolve component", says that the kernel is unable to find a file of specific properties anywhere in the directories named in your configpath trees.  To be precise, there is no file named /com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.properties in your config directory.  If I read correctly this conversation, it is because the file with this name is a .java file, not a .properties file.  The two most likely causes of your problem are:

    1. you have a file of properties somewhere that mentions/com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet as the value of something else than $class.  $class is a special case whose value is sought by a Java ClassLoader in the classpath.  Values of the other properties are interpreted as references to the component, and looked up from core in the configpath.

    2. in the directory tree that contains the /com/progiweb/fbconnect/pipeline/FacebookAuthStatusServlet.properties isn't in the configpath.  ATG displays the complete configpath during startup.  If your directory is missing, you have may have specified correct information in the entrance of the ATG-Config-path in your module MANIFEST. MF file.

  • ORA-12054: cannot set the ON COMMIT...

    Hello
    can someone please tell me what am I missing here?
    I can't create a materialized view, but I can't understand why is this?
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE    9.2.0.7.0       Production
    TNS for HPUX: Version 9.2.0.7.0 - Production
    NLSRTL Version 9.2.0.7.0 - Production
    
    
    SQL> r
      1* select master,primary_key from user_mview_logs where MASTER='CIS_CASE' or master='CCR_ACTION_DEF'
    
    MASTER                         PRI
    ------------------------------ ---
    CCR_ACTION_DEF                 NO
    CIS_CASE                       NO
    
    
    
    SQL> r
      1  SELECT a.table_name, a.constraint_name, a.constraint_type, b.column_name
      2    FROM user_constraints a, user_cons_columns b
      3   WHERE a.constraint_name = b.constraint_name
      4*    AND a.table_name IN ('CIS_CASE', 'CCR_ACTION_CASES')
    
    TABLE_NAME                     CONSTRAINT_NAME                C COLUMN_NAME
    ------------------------------ ------------------------------ - ----------------
    CCR_ACTION_CASES               ID_PK                          P ID
    CIS_CASE                       PK_CIS_CASE                    P ID
    CIS_CASE                       SYS_C008496                    C ID
    
    
    
    SQL> CREATE MATERIALIZED VIEW mv
      2    REFRESH FAST ON COMMIT
      3  AS
      4  SELECT c.ID,
      5         CASE
      6            WHEN (c.script_id IS NULL OR c.queue_id IS NULL)
      7               THEN 1
      8            WHEN c.script_id IS NOT NULL AND c.queue_id IS NOT NULL
      9               THEN 2
     10         END TYPE,
     11         c.datum + a.due_time / 24 - a.alarm_due_time_1 / 24 alarm1,
     12         c.datum + a.due_time / 24 - a.alarm_due_time_2 / 24 alarm2,
     13         c.datum + a.due_time / 24 due_date
     14    FROM ccr_action_def a, cis_case c                                  --users u
     15   WHERE NVL (a.queue_id, NVL (c.queue_id, 0)) = NVL (c.queue_id, 0)
     16     AND NVL (a.type_id, NVL (c.case_code_type_id, 0)) =
     17                                                    NVL (c.case_code_type_id, 0)
     18     AND NVL (a.code_id,
     19              NVL (NVL (NVL (c.code_id_4, code_id_3), code_id_2), code_id_1)
     20             ) = NVL (NVL (NVL (c.code_id_4, code_id_3), code_id_2), code_id_1)
     21     AND (c.datum + a.due_time / 24 < SYSDATE)
     22     AND state IN (1, 2)
     23  UNION
     24  SELECT c.ID, 3 TYPE, a.due_date - a.alarm_due_time_1 / 24 alarm1,
     25         a.due_date - a.alarm_due_time_2 / 24 alarm2, a.due_date
     26    FROM ccr_action_cases a, cis_case c
     27   WHERE c.ID = a.cis_case_id
     28     AND (a.due_date < SYSDATE)
     29     AND state IN (1, 2);
      FROM ccr_action_cases a, cis_case c
           *
    ERROR at line 26:
    ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view

    Vili Dialis wrote:
    Rob, if you have any comments on my last query operation, I would be greatfull.

    Vili,

    You must start with a join view which does not contain any aggregate. Just a join of the ccr_action_def and cis_case. And don't forget to include the two table rowid to make quickly updatable. Then create a full blown newspaper on top of the join mv materialized view and create mv aggregation, selecting in the mv to join.

    Kind regards
    Rob.

    Published by: Rob van Wijk on 14-dec-2009 12:09

    And two boards that are not linked mv:

    (1) as has said, use a.id and c.id in a group by clause for the query itself work
    (2) do not use the string ' 14.12.09", use a date but you compare it with a date. So use: date "2009-12-14'

  • Cannot set the time zone of Moscow winter + 3 hours.

    Cannot set the time zone of Moscow winter + 3 hours.
    Set the time zone Minsk 3 after the GPS clock moves forward 1 hour, timezone is set back from Moscow + 4.
    It is an error of your software when you are ready to address this issue.

    Automatic deactivation date & time(Settings>Date&Time...)

  • BIOS HP Compaq Elite (i5-2400 CPU) 8280 cannot set the VT option

    BIOS HP Compaq Elite (i5-2400 CPU) 8280 cannot set the VT option

    found in the security system] [, thanks]

  • Cannot set the password for hard drive on the W530 with Intel SSD 520

    Hello

    I have a w530 with an Intel SSD 520 in primary hard drive Bay. Whenever I try to set a password for the primary hard drive, it doesn't stick. If I chose master + user or simply user, I will enter the password, it will take the passwords without producing an error and then just dump back me to the screen of passwords while leaving the disabled hard drive password.

    BIOS is on the latest version for the w530 and SSD, the machine seems fairly normally operate differently.

    Does anyone have ideas how I can activate the password? Thank you!

    Hi, ctenorman

    I did some research and came across this thread of Intel. There are a few people in the thread who were able to set the password on this particular drive. It seems that changing the BIOS "SATA" compatibility mode, set the password, restart, and then change it to "AHCI" worked for some, but not all customers with this player.

    Good luck and let me know how it goes

    Adam

  • How can I make sure that only the Web site that sets the cookie can read it?

    I want some websites to be able to store cookies and use them, but I don't want other sites to use these same cookies.
    I know how enable/allow per session/block and I have same cookie manage extensions.
    What I can't find anywhere is information on who can read the cookies once they are defined.

    Only website (server or domain) that sets a cookie can read this cookie, but it can be an iframe embedded with another domain that defines the so called third-party cookies.

    You can disable third-party cookies.

  • HP LaserJet Pro MFP M125-M126: cannot set the default printer

    Hello

    We have HP LaserJet Pro M125 - M126 PCLmS network MFP all in one printer, as the installation of all users was a success and was working fine the day of installation, after a day all users face the question cannot set default pritner, cannot print, all users are faced with question at a time ,

    quick response is appreciated,

    Hi @darshan9 ,

    I see that you have problems affecting the default printer for users and you cannot print over the network.
    I'd love to help you.

    Do you mean the configuration of individual computers with the printer on the network users, or a computer with multiple users?

    You have administrative rights on the computer to make changes?

    What is the name and the product number of your printer? How can I find my model number or product number?

    Download and run the Print and Scan doctor. It will diagnose the problem and could solve it automatically. http://www.hp.com/go/tools > using HP diagnostic tools for printers under Windows HP.

    I suggest you to check if you have another account user or an administrative account.

    I also suggest to create a new user account and check if you are able to set the default printer.

    Create a user account. Create a user account.

    If you're still having problems, run the Fixit tool. Diagnose and automatically fix problems printing and printer.

    What were the results when you ran the Print and Scan Doctor? (she print or scan, error messages)

    If there is anything else I can help you, let me know.

    Good day!
    Thank you.

  • Cannot set the default printer. error 0 X 00000709

    Hi all

    Cannot set any printer as the default printer. An error message appears, error 0 X 00000709. I have tried to use a guide on the Forums, on the Windows system registry, still does not work. And I couldn't print anything using the PDF, but Words of Microsoft Excel and Notepad are able to print. In addition "format the hard drive, create a user and Fix a user profile is corrupted", is there a solution? Help will be very appreciated.

    Thank you

    Aaron Kwan

    Hi Aaron,

    I appreciate your efforts to solve the problem.

    What is the brand and model of the printer?

    This problem can occur if the wires that are not connected correctly, due to corruption drivers, drivers incompatible, if print spooler service is not started, because of problems with the printer and the printer, missing updates settings.

    Method 1:
    I suggest you to run the fixit and check if it helps.

    Diagnose and automatically fix problems printing and printer
    http://support.Microsoft.com/mats/printing_problems/

     

    Method 2:
    If the problem persists, I suggest you temporarily disable the security software of the computer and check.

    Disable the antivirus software.
    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

     

    Method 3:
    If the problem persists, I suggest you try the procedure described in the article and see if it helps.


    Note:
    try all the steps except the resolution of problems.

    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Check out the link for more information:

    Resolve PDF printing problems. Acrobat, Reader
    http://helpx.Adobe.com/Acrobat/KB/troubleshoot-PDF-printing-Acrobat-Reader.html

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • CANNOT ACCESS THE LAN WITH THE EASY VPN CONFIGURATION

    Hello

    I configured easy vpn server in cisco 1905 SRI using ccp. The router is already configured with zone based firewall. With the help of vpn client I can reach only up to the internal interface of the router, but cannot access the LAN from my company. I need to change any configuration of ZBF since it is configured as "deny everything" from outside to inside? If so that all protocols should I match?   Also is there any exemption of NAT for VPN clients? Please help me! Thanks in advance.

    Please see my full configuration:

    Router #sh run
    Building configuration...

    Current configuration: 8150 bytes
    !
    ! Last modification of the configuration at 05:40:32 UTC Wednesday, July 4, 2012 by
    ! NVRAM config updated 06:04 UTC Tuesday, July 3, 2012 by
    ! NVRAM config updated 06:04 UTC Tuesday, July 3, 2012 by
    version 15.1
    horodateurs service debug datetime msec
    Log service timestamps datetime msec
    no password encryption service
    !
    router host name
    !
    boot-start-marker
    boot-end-marker
    !
    !
    Passwords security min-length 6
    no set record in buffered memory
    enable secret 5 xxxxxxxxxxx
    !
    AAA new-model
    !
    !
    AAA authentication login default local
    AAA authentication login ciscocp_vpn_xauth_ml_1 local
    AAA authorization exec default local
    AAA authorization ciscocp_vpn_group_ml_1 LAN
    !
    !
    !
    !
    !
    AAA - the id of the joint session
    !
    !
    No ipv6 cef
    IP source-route
    no ip free-arps
    IP cef
    !
    Xxxxxxxxx name server IP
    IP server name yyyyyyyyy
    !
    Authenticated MultiLink bundle-name Panel
    !

    parameter-map local urlfpolicy TSQ-URL-FILTER type
    offshore alert
    block-page message "Blocked according to policy"
    parameter-card type urlf-glob FACEBOOK
    model facebook.com
    model *. Facebook.com

    parameter-card type urlf-glob YOUTUBE
    mires of youtube.com
    model *. YouTube.com

    parameter-card type urlf-glob CRICKET
    model espncricinfo.com
    model *. espncricinfo.com

    parameter-card type urlf-glob CRICKET1
    webcric.com model
    model *. webcric.com

    parameter-card type urlf-glob YAHOO
    model *. Yahoo.com
    model yapo

    parameter-card type urlf-glob PERMITTEDSITES
    model *.

    parameter-card type urlf-glob HOTMAIL
    model hotmail.com
    model *. Hotmail.com

    Crypto pki token removal timeout default 0
    !
    Crypto pki trustpoint TP-self-signed-2049533683
    enrollment selfsigned
    name of the object cn = IOS - Self - signed - certificate - 2049533683
    revocation checking no
    rsakeypair TP-self-signed-2049533683
    !
    Crypto pki trustpoint tti
    crl revocation checking
    !
    Crypto pki trustpoint test_trustpoint_config_created_for_sdm
    name of the object [email protected] / * /
    crl revocation checking
    !
    !
    TP-self-signed-4966226213 crypto pki certificate chain
    certificate self-signed 01
    3082022B 30820194 02111101 300 D 0609 2A 864886 F70D0101 05050030 A0030201
    2 060355 04031326 494F532D 53656 C 66 2 AND 536967 6E65642D 43647274 31312F30
    69666963 32303439 35323236 6174652D 3833301E 170 3132 30363232 30363332

    quit smoking
    encryption pki certificate chain tti
    for the crypto pki certificate chain test_trustpoint_config_created_for_sdm
    license udi pid CISCO1905/K9 sn xxxxxx
    licence start-up module c1900 technology-package datak9
    username privilege 15 password 0 xxxxx xxxxxxx
    !
    redundancy
    !
    !
    !
    !
    !
    type of class-card inspect entire tsq-inspection-traffic game
    dns protocol game
    ftp protocol game
    https protocol game
    match icmp Protocol
    match the imap Protocol
    pop3 Protocol game
    netshow Protocol game
    Protocol shell game
    match Protocol realmedia
    match rtsp Protocol
    smtp Protocol game
    sql-net Protocol game
    streamworks Protocol game
    tftp Protocol game
    vdolive Protocol game
    tcp protocol match
    udp Protocol game
    match Protocol l2tp
    class-card type match - all BLOCKEDSITES urlfilter
    Server-domain urlf-glob FACEBOOK game
    Server-domain urlf-glob YOUTUBE game
    CRICKET urlf-glob-domain of the server match
    game server-domain urlf-glob CRICKET1
    game server-domain urlf-glob HOTMAIL
    class-map type urlfilter match - all PERMITTEDSITES
    Server-domain urlf-glob PERMITTEDSITES match
    inspect the class-map match tsq-insp-traffic type
    corresponds to the class-map tsq-inspection-traffic
    type of class-card inspect correspondence tsq-http
    http protocol game
    type of class-card inspect all match tsq-icmp
    match icmp Protocol
    tcp protocol match
    udp Protocol game
    type of class-card inspect correspondence tsq-invalid-src
    game group-access 100
    type of class-card inspect correspondence tsq-icmp-access
    corresponds to the class-map tsq-icmp
    !
    !
    type of policy-card inspect urlfilter TSQBLOCKEDSITES
    class type urlfilter BLOCKEDSITES
    Journal
    reset
    class type urlfilter PERMITTEDSITES
    allow
    Journal
    type of policy-card inspect SELF - AUX-OUT-policy
    class type inspect tsq-icmp-access
    inspect
    class class by default
    Pass
    policy-card type check IN and OUT - POLICIES
    class type inspect tsq-invalid-src
    Drop newspaper
    class type inspect tsq-http
    inspect
    service-policy urlfilter TSQBLOCKEDSITES
    class type inspect tsq-insp-traffic
    inspect
    class class by default
    drop
    policy-card type check OUT IN-POLICY
    class class by default
    drop
    !
    area inside security
    security of the OUTSIDE area
    source of security OUT-OF-IN zone-pair outside the destination inside
    type of service-strategy check OUT IN-POLICY
    zone-pair IN-to-OUT DOMESTIC destination outside source security
    type of service-strategy inspect IN and OUT - POLICIES
    security of the FREE-to-OUT source destination free outdoors pair box
    type of service-strategy inspect SELF - AUX-OUT-policy
    !
    Crypto ctcp port 10000
    !
    crypto ISAKMP policy 1
    BA 3des
    preshared authentication
    Group 2
    !
    crypto ISAKMP policy 2
    Group 2
    !
    ISAKMP crypto client configuration group vpntunnel
    XXXXXXX key
    pool SDM_POOL_1
    include-local-lan
    10 Max-users
    ISAKMP crypto ciscocp-ike-profile-1 profile
    vpntunnel group identity match
    client authentication list ciscocp_vpn_xauth_ml_1
    ISAKMP authorization list ciscocp_vpn_group_ml_1
    client configuration address respond
    virtual-model 1
    !
    !
    Crypto ipsec transform-set TSQ-TRANSFORMATION des-esp esp-md5-hmac
    !
    Profile of crypto ipsec CiscoCP_Profile1
    game of transformation-TRANSFORMATION TSQ
    set of isakmp - profile ciscocp-ike-profile-1
    !
    !
    !
    !
    !
    !
    the Embedded-Service-Engine0/0 interface
    no ip address
    response to IP mask
    IP directed broadcast to the
    Shutdown
    !
    interface GigabitEthernet0/0
    Description LAN INTERFACE-FW-INSIDE
    IP 172.17.0.71 255.255.0.0
    IP nat inside
    IP virtual-reassembly in
    security of the inside members area
    automatic duplex
    automatic speed
    !
    interface GigabitEthernet0/1
    Description WAN-INTERNET-INTERNET-FW-OUTSIDE
    IP address xxxxxx yyyyyyy
    NAT outside IP
    IP virtual-reassembly in
    security of the OUTSIDE member area
    automatic duplex
    automatic speed
    !
    interface Serial0/0/0
    no ip address
    response to IP mask
    IP directed broadcast to the
    Shutdown
    no fair queue
    2000000 clock frequency
    !
    type of interface virtual-Template1 tunnel
    IP unnumbered GigabitEthernet0/0
    ipv4 ipsec tunnel mode
    Tunnel CiscoCP_Profile1 ipsec protection profile
    !
    local IP SDM_POOL_1 172.17.0.11 pool 172.17.0.20
    IP forward-Protocol ND
    !
    no ip address of the http server
    local IP http authentication
    IP http secure server
    !
    IP nat inside source list 1 interface GigabitEthernet0/1 overload
    IP route 0.0.0.0 0.0.0.0 yyyyyyyyy
    IP route 192.168.1.0 255.255.255.0 172.17.0.6
    IP route 192.168.4.0 255.255.255.0 172.17.0.6
    !
    access-list 1 permit 172.17.0.0 0.0.255.255
    access-list 100 permit ip 255.255.255.255 host everything
    access-list 100 permit ip 127.0.0.0 0.255.255.255 everything
    access-list 100 permit ip yyyyyy yyyyyy everything
    !
    !
    !
    !
    !
    !
    !
    !
    control plan
    !
    !
    !
    Line con 0
    line to 0
    line 2
    no activation-character
    No exec
    preferred no transport
    transport of entry all
    output transport lat pad rlogin lapb - your MOP v120 udptn ssh telnet
    StopBits 1
    line vty 0 4
    transport input ssh rlogin
    !
    Scheduler allocate 20000 1000
    end

    A few things to change:

    (1) pool of IP must be a single subnet, it is not the same subnet as your subnet internal.

    (2) your NAT ACL 1 must be changed to ACL extended for you can configure NAT exemption, so if your pool is reconfigured to be 10.10.10.0/24:

    access-list 120 deny ip 172.17.0.0 0.0.255.255 10.10.10.0 0.0.0.255

    access-list 120 allow ip 172.17.0.0 0.0.255.255 everything

    overload of IP nat inside source list 120 interface GigabitEthernet0/1

    No inside source list 1 interface GigabitEthernet0/1 ip nat overload

    (3) OUT POLICY need to include VPN traffic:

    access-list 121 allow ip 10.10.10.0 0.0.0.255 172.17.0.0 0.0.255.255

    type of class-card inspect correspondence vpn-access

    game group-access 121

    policy-card type check OUT IN-POLICY

    vpn-access class

    inspect

Maybe you are looking for