Stickiness based on cookie name

on ace how do i configure cookie if i want it based on cookie name or set-cookie value. The server is generating cookie and I want to stick the server based on cookie value generated by server not ace
can someone give me an example?

http://www.cisco.com/en/US/partner/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA4_1_0/command/reference/sticky.html#wp1069181
You first need to know the name of the cookie used by the server.
You then create a sticky group to match that cookie name.
You associate your serverfarm to that group.
You link that group to your policymap.
Done.
Gilles.

Similar Messages

  • Css stickiness based on the http header

    there is CSS 11503 that should load balances the traffic between 2 servers running IIS (http port 80). In front of load balancer there is a reverse proxy, that hides all real ip addresses of users that send requests to web-servers.
    The customer would like to have stickiness per user. The reverse proxy can add user real ip address to http header.
    What kind of load balancing mechanism is better to use  to fulfill customer requirements? HTTP load balancing? If "yes", are there standard field-types that is possible to use?

    You can't do sticky on http header in CSS , best solution is to insert a cookie for stickyness, individula clients will get a cookie and will stick based on cookie ppresented.
    see:
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20/configuration/content_lb/guide/Sticky.html#wp1109390
    content testing
    vip address 192.168.128.131
    add service s1
    advanced-balance arrowpoint-cookie
    active

  • How to do http session stickiness based on URL patterns?

    Is there a feature within the WL plugin for Apache that would allow me to emulate the "jvmroute" session stickiness behaviour as provided by Tomcat and its plugin. I would like to have the control to tie requests from http clients to particular WLS servers in a cluster depending on the URL. For example http://foo.com/web01 requests would be forwarded to an appsererver app01 and so on. For all other requests (e.g http://foo.com/web), the WL plugin would do its normal load balancing ignoring the stickiness. From my understanding the WLS inbuilt http session stickiness is based on JSessionIDs which are exchanged using cookies - which is something i cannot use in my case since i want the stickiness based on URL patterns.
    I am using WLS 10.0 with Apache 2.2.4 on Linux.
    Thanks
    Ramdas

    Session is not replicated across all the servers in the Cluster.
    Apache knows which server to go using the JSession ID.
    There is a concept of primary and secondary, secondary is selected based on the replication groups there are configured in the cluster.
    you can configure the cluster so that /web01 requests go to different cluster, and /web requests go to different cluster.
    but you can get all the funtiionalities from the single cluster.
    Do you have any java caching that you are not able to replicate across the cluster ?(I know this can be done too).
    let me know what you are actually trying to solve by doing the behavior you explained.

  • Oracle SQL Developer  error - "The file-based source procedure Name is not present in the database."

    I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name>  is not present in the database.  Was it compiled?'
    instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.

    Sounds like you do not have the correct privileges.  What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
    grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
    Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
    So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest?  If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
    The role SELECT_CATALOG_ROLE
    The system privilege SELECT ANY DICTIONARY
    And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
    The role EXECUTE_CATALOG_ROLE
    The system privilege EXECUTE ANY PROCEDURE
    Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
    Best wishes,
    Gary

  • How to change background color of text in pdf based by font name

    Hi
    How to change the background color of text in PDF based by font name. Is there any option in Javascript. e.g: If PDF containing ARIAL font, the ARIAL text background color needs to be changed in red color for all pages. Same for all fonts with different different color in the PDF.
    Thanks in Advance

    Hi
    1) Is there any possibilities to highlight with different color based on font using javascript
    2) list of font used in PDF using javascript
    3) How to hilight the text using javascript
    Thanks in Advance

  • How to integrate a SSO based in cookie with ADF Security

    At work they asked me to integrate a existing SSO based in cookie with the new ADF + Jdeveloper 11g + WLS. After google for days and read a lot of blogs and official documentation I've made a custom LoginModule. I made it very simple, it's just an "if" inside the login() function with the username, if the username is "john" I put to the Subject some Principals. My steps are:
    1- Create a new app based on "Fusion application" template.
    2- Make a new ADF Taskflow with only one view inside (the entry point of the taskflow). The jspx only contains a welcome message.
    3- Run the ADF Security wizard, all the steps with the default option, I don't change anything.
    4- Put some users and some roles in jazn-data.xml, and maping them to an application role. Then I grant permissions to the application role to view the previous task flow.
    At this point everything is ok. I run the taskflow and a basic login popup prompts me to write my username and password. Now I try to remove everything useless for me, like idstore, credentials, anonymous, etc. I only want a LoginModule that get the HttpRequest and passes it to an already done class that returns a true/false depending if the cookie is correct or not but, as I said before, my LoginModule is so simple now and even didn't try to do something more complicated than an if. The steps I try are:
    in jps-config.xml
    5- Remove idstore.xml and credentials.
    6- (loginmodule tab) Make a new login module, and put here my class. The class is in the ViewController project and JDeveloper find it navigating through the heriarchy, so I have visibility. I put REQUIRE flag, add all roles and debug mode.
    7- In the security context unmark the idstore.loginmodule and mark myLoginModule. Also delete the anonymous security context.
    All that I got until now is a 500 error (Internal server error - Authorization Exception). Sometimes (the close i've ever been to do something correct) the browser ask me for user/password but then only recognizes the users that already are in WLS (idstore from previous tests), but NOT the "john" user that is inside my custom LoginModule. Even more, if I run the WLS from JDeveloper 11g in debug mode, the runtime never stops at breakpoints inside my custom login module. It seems that my LoginModule isn't deployed or I made some error maping the roles.
    So, my questions are:
    - I'm in the good way? If I want an authentication based in cookie/httprequest I have to do a custom LoginModule? My goal is to do a re-usable code, and re-use the code that my co-workers have done. They have a class that with only the HttpRequest determines if a user is logged or not.
    - If I'm in the good way... how can I put my custom LoginModule in the WLS? I tried to search something in the Administration Panel (localhost:7101/console) but I did'nt find nothing.
    - In case I'd got the custom LoginModule working fine in WLS... how can I get a HttpRequest from a LoginModule and avoid the username/password dialog? I've to make a filter and pass it to the my LoginModule? If it's correct... how?
    I don't post my code because is so simple, it's based on DBTableLoginModule but without all the database access code.
    Thanks to all!
    P.D.: If this message isn't in the correct forum, I'm sorry. Feel free to move it.
    P.D.2: Sorry about my english, I'm spanish. I know i've to practise a lot :)

    Hi Frank,
    Thanks a lot for your answer. Just one more easy question: what I need to do is a custom Authentication Module (which will read the cookie)? If only you can point me to the correct chapter of the WLS documentation I'll be very pleased.
    In future releases of JDeveloper will be easier to do this kind of things related to security?
    Riveck

  • Obiee 11g and custom j2ee app using the same cookie name

    Hi,
    I wrote a same j2ee web application. i'am using authentification through a realm configured in the web.xml.
    This web app is deployed in the same weblogic than obiee 11g. What i want to do is to embed my application in a dashboard using an iframe tag, and use the same login from analytics to my custom web app.
    In this article http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1039551, it is said that by default, all web apps in the sames weblogic server are using the same cookie name so that they share authentification between them. However, i have read in the web that analytics in obiee 11g is using a cookie with the name "ORA_BIPS_NQID".
    In the weblogic.xml of my custom application, i set the cookie-name parameter to ORA_BIPS_NQID. However, in the dashbord, it still prompt for authentification to my custom web app.
    How can we share authentification between analytics and a custom web app in the same weblogic ?
    NB : I dont want to pass the username et password through the url.
    Thanks.

    By default, if you don't specify a cookie-name in the weblogic.xml configuration file, the weblogic server create a cookie named JSESSIONID for your application. For exemple, if two applications use the default configuration, both of them will use the same cookie name which is JSESSIONID. In this case, when you log in the first application, your are automaticaly logged in the second application with the same credentials. I have already test this kind of integration and it works perfectly. You only need that the two applications are deployed in the same weblogic server.
    Now, i want to have the same behaviour between obiee 11g and my custom application deployed in the same weblogic server. I read somewhere in the web that obiee 11g presentation service (analytics) is configured with a cookie-name value = "ORA_BIPS_NQID". So in the weblogic.xml configuration file of my web app, i specify a cookie-name value = "ORA_BIPS_NQID" to have the same cookie-name between the two application. But, it still not work. It prompt for authentification in the dashboards.
    I now, that such an integration is possible, because the other bi applications (mapviewer, bipublisher,...) are actually other web applications. However when using, for exemple, maps in dashbords, the mapviwer application automaticaly user the credentials of the user connected in analytics.

  • Can you customize your deployment based on VM name

    I know it is possible to customize your deployment by mapping your PC based on MAC or serial number using the MDT database.  However, is it possible to do this by just the VM name alone? (I would think the same challenge apply to both ESX or HyperV). 
    If I could go ahead and create a serial of VM call VM01 to VM10, how can I have MDT deploy Task Sequence 1 to VM01 to VM05, while deploy Task Seq 2 to VM06 to VM10?  As the VM doesn't have any netbios name of predefine MAC address yet ?  Any idea
    would be appreicated

    Hi,
    The answer is no, you couldn't customize deployment based on VM name. 
    Customize deployment by mapping PC based on MAC or serial number using MDT database is completely different with mapping PC name. The first one is based on hardware query, seconde one is based on software level.
     As we know, WMI command can be used to obtain information of Computer Hardware, software, etc. While in WinPE phase, it only could be used to obtain hardware information, the command like
    Get -WmiObject win32_computersystem should be works properly, but it won't be work if you try to obtain VM name by using WMI command, WinPE doesn't support these command to obtain VM name, it only works at host system. That's
    to say, we didn't have method to obtain host VM name in guest machine. Therefore, if you try to mapping your PC based on VM name, it would be failed.
    For more information about WMI, you can refer to the link below for more details:
    http://msdn.microsoft.com/en-us/library/aa394585(v=vs.85).aspx
    Roger Lu
    TechNet Community Support

  • Function Module to get pernr number based on first name and last name

    Hi All,
    What is the Function Module to get pernr number based on first name and last name.
    Could you please help me.
    T@R.
    Vidya

    hi Vidya,
    you can get perner from PA0002 based on firs name and last name.
    use select query and get perner.

  • Receiver File adapter: dynamic folder name based on file name

    Hi there,
    is it possible to set up one communication channel that will use different target folders based on file name?
    E.g.
    File abcdef will be saved to /root/abcdef/abcdef or /root/abcdef/abcdef.txt
    File xyz will go to /root/xyz/xyz or /root/xyz/xyz.txt
    I know I could use Sender/Receiver Service, Interface/namespace or data from message for variable substitution but could not find an easier solution for this scenario than to create multiple communication channels.
    Thanks.

    If you haven't a message mapping, then you can create only an interface mapping with an abap mapping.
    In your abap mapping:
      DATA l_record type mpp_dynamic.
      l_record-namespace = 'http://sap.com/xi/XI/System/File'.
      l_record-name = 'FileName'.
      l_record-value = "your filename"
      dynamic_configuration->add_record( l_record ).
      l_record-namespace = 'http://sap.com/xi/XI/System/File'.
      l_record-name = 'Directory'.
      l_record-value = "your directory ".
      dynamic_configuration->add_record( l_record ).
    Afther that, you must activate Adapter Specific Message Attributes (directory and/or filename) in your target communication channel .
    Regards,
    Carme.

  • I want to create xml file using photoshop script and also i can easily add, modify, delete based on file name

    Hi,
    Please help me for this.
    I need to create XML file for mentioned below. when i run the photoshop script i need deatails for active document name, date, time and status.
    <?xml version="1.0" encoding="UTF-8"?>
    <sample>
    <filename>Cradboard_Boxes_Small.tif</filename>
    <date>today date</date>
    <starttime>now</starttime>
    <status>delivered</status>
    </sample>
    <sample>
    <filename>Cardboard_Boxes_Student_Vaue_Pack.jpg</filename>
    <date>today date</date>
    <starttime>now</starttime>
    <status>delivered</status>
    </sample>
    I need read that xml after creating and modify based on file name. i need to modify status after file finished.
    if the file name is already exist i want to modify or delete or add whatever i need.
    Kindly help me simple way

    You may want to look into getting Xtools ps-scripts - Browse Files at SourceForge.net then.  Most of the support is for ActionManager script code where XML code is use as an intermediate step.  There are quite a few Photoshop script in XTools .   Ross Huitt is an expert javascript programmer though is is fed up with Adobe's lack of support for Photoshop scripting particularly the bugs in ScriptUI he is still maintaining tool he  has created for us free of charge. Tools like Image Processor Pro. None of his scripts are save as binary so you can read all of his code there is a wealth of knowledge in there....
    Also there is a scripting forum Photoshop Scripting

  • How can I remove the cookies name from the sqlite file? The cookie names and content are to be out of sync and cookies can not be removed.

    Under Options-Privacy-Show Cookies I have a long list of entries. Remove Cookies or Remove All does not clear any cookie. Under Firefox profiles, I renamed the cookies.sqlite file and restarted Firefox. New cookies.sqlite file was created and the file size was reduced. Cookie content appears to be removed (i.e. site settings/logon info removed) but repeating the Options/Privacy/Show Cookies step still displays the older cookie names. I have tried all the different settings of clearing upon exit, clear recent history , etc but the result is the same.
    The cookie name can not be deleted. Selecting a cookie and trying to Remove Cookie just causes the highlighted selection to move to the next cookie entry. Haven't used a sqlite manager to examine the file content so I'm unsure what is in the sqlite file.

    Unfortunately, the option to remove that feature is not available.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • TIPS(22) : EXPORTING TABLES BASED ON TABLESPACE NAME

    제품 : ORACLE SERVER
    작성날짜 : 1996-11-12
    TIPS(22) : Exporting tables based on Tablespace name
    ====================================================
    This script allows the user to enter the tablespace name and creates a list
    of tables in exp format. Additional choices allow the export of over-extended
    tables or tables over a certain size.
    rem list.sql
    rem Give list of tables depending on parameters
    set termout on linesize 75 pagesize 0 verify off feedback off
    clear buffer
    clear columns
    prompt
    prompt This script will create list.out, which can be used
    prompt to give export tables parameter file
    prompt
    accept Segment_Name Prompt 'Enter Seg Name : '
    accept owner Prompt 'Enter Seg Owner : '
    accept tsname prompt 'Enter TableSpace Name : '
    accept min_extents Prompt 'Enter Minimum num of exts : '
    accept min_size Prompt 'Enter Minimum seg size(M) : '
    prompt
    accept expchoice Prompt 'Is this list for exports ? : '
    col srt noprint
    SPOOL list.out
    -- start bit
    select 0 srt, decode(upper('&expchoice'),'Y','tables=(','')
    from dual
    union
    -- data bit without end segment
    select 1 srt, segment_name||decode(upper('&expchoice'),'Y',',','')
    from dba_segments
    where segment_type = 'TABLE'
    and segment_name like upper('&&Segment_Name%')
    and owner like upper('&&owner%')
    and tablespace_name like upper('&&tsname%')
    and extents >= (&&min_extents + 0)
    and bytes >= (&&min_size + 0) * (1024*1024)
    minus
    -- remove last one (with ',' after the name)
    select 1 srt, max(segment_name)||decode(upper('&expchoice'),'Y',',','')
    from dba_segments
    where segment_type = 'TABLE'
    and segment_name like upper('&&Segment_Name%')
    and owner like upper('&&owner%')
    and tablespace_name like upper('&&tsname%')
    and extents >= (&&min_extents + 0)
    and bytes >= (&&min_size + 0) * (1024*1024)
    union
    -- data bit with end segment
    select 3 srt, max(segment_name)||decode(upper('&expchoice'),'Y',')','')
    from dba_segments
    where segment_type = 'TABLE'
    and segment_name like upper('&&Segment_Name%')
    and owner like upper('&&owner%')
    and tablespace_name like upper('&&tsname%')
    and extents >= (&&min_extents + 0)
    and bytes >= (&&min_size + 0) * (1024*1024)
    order by 1,2
    spool off
    set heading on
    ****************************************************************

    Hi,
    You will have to use dynamic sql to create your second cursor.
    DECLARE
         v_sql_query VARCHAR2(400);
         TYPE cur_typ IS REF CURSOR;
         c1 cur_typ;
         mYRec MyTable%rowtype;
    BEGIN
         v_sql_query := 'select * from MyTable';
         OPEN c1 FOR v_sql_query;
              LOOP
              FETCH c1 INTO mYRec;
                   EXIT WHEN c1%NOTFOUND;
                   EXIT WHEN c1%NOTFOUND IS NULL;
    /*processing here*/
              END LOOP;
         CLOSE c1;
    END;
    Regards

  • Cannot create smart playlist based on Album Name

    Hi All. Does anyone know why I cant create a smart playlist based on album name any more? When I try to create it I don't have the option of adding songs by album, the option has disappeared fromthe list! Im running the latest Itunes.
    This is really getting on my nerves now as I have had to reload my PC, my music backup is fine but the library got corrupt and I need to recreate my playlists. Heeeellppp !!

    Hi All. Does anyone know why I cant create a smart
    playlist based on album name any more? When I try to
    create it I don't have the option of adding songs by
    album, the option has disappeared fromthe list! Im
    running the latest Itunes.
    This is really getting on my nerves now as I have had
    to reload my PC, my music backup is fine but the
    library got corrupt and I need to recreate my
    playlists. Heeeellppp !!
    Hi there I just created a smart play list based on album name, I went to file selected create new smart Play List. Then selected Album (from drop down menu) then ( IS ) then Type in album Name eg Dark Side Of The Moon ... was what I did it with
    Cheers Noel

  • BASED ON QUEUE NAME HOW CAN WE FIND THE SENDER SYSTEM IN ECC

    Based on queue name how to identify the sender system
    the issue is
    Messages are  are coming from pi to ecc , check below queues. These are incoming queues
    to Ecc from PI. We are trying to find what these queues are. Sometimes these
    are failing and we are not able to process,
    Based on the above information we need to find  the sender system from where it is coming.
    Regards
    MADHU

    Hi srinivas- Thanks for your reply and there is no issue on pi side after reaching to ecc the entries got stucking in smq2 of  ecc system now the target system wants to know on which sender system these messges are coming we are not finding sender system detials from smq2 of ecc system .
    Regards
    Madhus

Maybe you are looking for

  • How to get client Ip address from web service

    Hello folks, I am quite new to web service and developing a web service using netbeans6.0 IDE, where i have to know which client called/used the service, After googling i got code snippet like below inject a WebServiceContext instance into your WebSe

  • AR_SYSTEM_PARAMETERS_ALL.TAX_REGISTRATION_NUMBER

    This is an Oracle Receivables R12 question about an issue which is impacting our Invoice Printing programs. In Oracle Receivables R12, is there any front-end form which updates the AR_SYSTEM_PARAMETERS_ALL.TAX_REGISTRATION_NUMBER field? After introdu

  • Prob with Updation of Primary Key field '' SPRPS '' in PA2001. Plz HELP

    Can anyone please tell me how to update a primary key field in HR Tables (PA2001 and PA2002). I need to update sprps field in both the tables. I used HR_Infotype_Operation function module, but still it is not updating the field. Pls find the followin

  • New computer, doesn't show all that's in my itunes library

    Just got a new computer. Logged onto itunes, but not all of my music shows up. I'm ditching the old computer, so should I just deauthorize the old one and set the new one up again, and hope it all shows up then? I'm not very savvy when it comes to th

  • CS5 Pen Tool -- Hover +/- Disabled?

    Hi y'all-- So, in CS5, when I hover over an anchor point my pen tool cursor no longer displays a "-" (minus) sign, nor will it allow me to delete that anchor without having to reach over with my left hand (I use pen/tablet) and hit the minus sign. Sa