How to Set User-Agent in UIWebView?

I tried to change User-Agent using NSMutableURLRequest in the UIWebView delegate function, but didn't work. The funny thing is...the User-Agent string changed if the request is redirect. Have anyone experienced it? I want to change User-Agent of every request from UIWebView to the same like coming from Safari browser. Please HELP!!

I would try the Apple Developer Connection, this forum is for users of the iPhone, you aren't going to get much help with this.

Similar Messages

  • How to set user quotas on a certain filesystem

    Hi
    It may be simple and easy question but I'm really new to this
    I need to know how to set user quotas on a certain file system in details
    I know it can be done easily in one step in Solaris ZFS
    but how is it done in Linux ?
    Thanks in Advance :)

    See also:
    How to set user quotas on a certain filesystem

  • How to set user friendly URL in ApEx with OHS 11g ?

    Hi,
    How to set user friendly URL in ApEx with OHS 11g ?
    I want change the link http://190.148.xxx.xxx:8080/pls/apex to something like http://xxx.com.
    I dont want to use iFrame solution. Please suggest any other method to acheive the same.
    Thanks & Regards,
    Ranu

    Hi all
    Iam using apex 4.0 -oracle 11g with OHS on linux os
    I need to change my apex url http://x.x.x.x:xxxx/apex to http://x.com
    What are the settings i need to do.
    If any one knows please share the solution with me
    Thanks & In advance

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • How to set user specific Layout for executing IW38/IW39  report.

    Dear Experts,
    We have 10 users seperatly, For executing IW38/39 transaction they have maintained seperate layouts for executing the reports. While saving layout they have saved the layout as 'user specific' Now some body has chage the settings.
    After changing the setting all are getting same layout.
    Please suggest how to set user specific layout. When user enter the IW38/39 report by default he should get his layout.
    Thanks in advance.

    Create Variant using SHD0 and with Group and assign to particular user's
    Here is the steps
    Creating a Variant Group
    1. Open transaction SHD0, enter the transaction code, and press enter.
    2. Choose the Standard Variants tab page, and then the sub tab page Variant Groups, and enter a group name, such as GROUP_GEN
    3. Choose Create. Enter a short text on the Maintain Variant Group window that appears and save the variant group.
    Assigning Users
    Once you have created the variant group and the relevant transaction variants with screen variants, you now need to assign users to the variant group as follows
    1. Return to the Standard Variants tab page, Variant Groups sub tab page.
    2. Enter the name of a user that you want to assign to this variant group, and choose Assign. A message that this user was successfully assigned to the variant group appears in the status bar. If you choose a where-used list for users, this user is displayed in the user list.
    3. However, for the screen variants of the variant group that you created above to be displayed for the user, you first need to select Set Proposal. The user is assigned to the group and the associated transactions are started with the corresponding variants only once you choose the Set Proposal function.
    You can use this procedure of user assignment for all other users that you want to add to the variant group
    Hope this helps.
    Thanks
    S.N

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • Set User-Agent HTTP protocol header property

    Hi,
    We would like to use HTTP requests in our mobile applications and would like to know on how to set HTTP protocol header property User-Agent=Profile/MIDP-2.0 (or anything except MSIE or Mozilla).
    Thank you for your time and help.
    Regards

    See the userAgent property in URLRequest: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/URLRequest.html#us erAgent

  • How to delete User-Agent header field from http request ?

    Hi,
    I'm currently using HttpUrlConnection to create a HTTP 1.1 POST client, and I wish to remove the User-Agent field from my request.
    However, java seems to set this field to "java.1.4.2" if none is provided.
    I have found methods to modify the User-Agent ( "setRequestProperty()" and system property "http.agent" ) but none to delete it.
    Is there a way to remove this header from the request ?
    This field is said as "should be implemented" but is not required in rfc2616(http1.1), so I'm a bit surprised that I can't remove it in the java HttpUrlConnection...
    Thank you for your help,
    Gregoire

    You can always go around java.net.HttpUrlConnection with your own subclass of UrlConnection or simply a socket. You may lose some functionality, for example with handling binary content, but it may still be a solution.
    (But are you saying that the server requires that there's no user-agent header? That's not a case of incompatibility, it's a bug. Scrap the server, and get one that works.
    It seems a lot more likely that the server just have strict ideas of what user agents it wants to talk to. Then instead of removing the header, you want to find out what values the server will expect.)

  • How to set User-field in Plan order

    Hi
    could you tell me please how to set a user-filed in plan order. when I run MRP planing, I can write some data in this filed.
    thanks
    henry

    Hi,
    Actually these user defind fields are used/assigned in the routing.
    Initially u have to define your own user defind profile through OPEC transaction.
    Assign this profile in the routing.
    So when ur executing Mfg activities, suppose if ur using some high materials like silver...etc.
    Then after executing the particular operation some amount of silver chips or silver scrap will generated .
    To keep chip/scrap qty operation and date which user defind is used.
    Once u have assigned this profile to routing, then it will be automatically copied in the planned order/production order.when ur confirming the order then u have to enter the all related data.
    Regards
    Vijay

  • How to set user privilege

    i want to NEW USER excute procedure which
    is other schema!
    i want not to use prefix for execute procedure!
    how to set NEW user privilege?
    null

    Hi
    I create a user in a Database using SQL developer,
    so it is a Database User.
    Now I want to give this user access to some table in
    read , write mode and just let it to read some other
    tables.
    how i can do this ? SQL*Developer currently doesn't support security admininstration through the GUI, but you can use sqlworksheet to issue grant statements.
    grant select on mytable to otheruser1;
    grant select,insert,update,delete on mytable to otheruser2;
    It looks like that when we create a use SQL developer
    create a schema for that user , how i can make more
    users without creating Schema for each of them ?
    A schema is the collection of objects owned by a user. A user can exist without owning any objects.
    If you are using XE, you might be better off using the XE GUI to manage this.

  • How to set user settings insap

    how to set default settings

    n SAP Easy Access screen System -->User Profile -->Own Data. In which, in the defaults tab you can change the change the formats for the user and save the settings
    actually all time's we dont have authorizations to change those..
    and SU3 tcode is alos correct
    Regard points if useful
    Regards
    sas

  • How to block user agent?

    Hi!
    I would like to block Custom user agents in Ironport Web Security without blocking IE.
    How can I do this to:
    Chrome,
    Safari,
    Firefox,
    Opera,
    My WebOS 7.0

    Hello Wilke,
    You can check the access log for the user agents you want to block, and configure for those.
    To find user agent:
    a) Browser to
    GUI -> "System Administration" -> "Log Subscription" -> 'Access logs'
    b) Add
    %u
    in the Custom fields
    c) Submit and commit the changes
    Then
    d) Grep or tail the access logs based on client IP address
    e) The user agent string should be located at end of the access log line
    Here is a close example, though this is doing authentication bypass:
    http://tinyurl.com/m5kf9c
    Then instead of configuring for bypass authentication, configure an access policy that will block all traffic from this identity.
    I hope this infomratiom helps you.
    Regards,
    Eric

  • How to set user command in module pool program

    hello expert,
    like in report: PARAMETERS: RB_SING RADIOBUTTON GROUP RAD3 DEFAULT 'X' USER-COMMAND C1.
    in module pool program, hw to set user-command in screen.
    srinivas

    PBO.
    Call subscreen <SUBSCREEN NAME> Including sy-repid(PROGRAM NAME) G_DYNNR(SCREEN NUMBER'.
    PAI
    module user_command.
    Call subscreen <subscreen name>
    Module user_command.
    case sy-ucomm.
    when 'BUT1'.
    g_dynnr = 200.
    when 'BUT2'.
    g_dynnr = 300.
    Endcase.
    end module
    REPORT demo_dynpro_tabstrip_server.
    CONTROLS mytabstrip TYPE TABSTRIP.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA number TYPE sy-dynnr.
    mytabstrip-activetab = 'PUSH2'.
    number = '0120'.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    IF save_ok = 'OK'.
    MESSAGE i888(sabapdocu) WITH 'MYTABSTRIP-ACTIVETAB ='
    mytabstrip-activetab.
    ELSE.
    mytabstrip-activetab = save_ok.
    CASE save_ok.
    WHEN 'PUSH1'.
    number = '0110'.
    WHEN 'PUSH2'.
    number = '0120'.
    WHEN 'PUSH3'.
    number = '0130'.
    ENDCASE.
    ENDIF.
    ENDMODULE.
    flow logic of the screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CALL SUBSCREEN SUB.
    MODULE USER_COMMAND.
    flow logic of the screen 110
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 120
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 130
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    REGARDS
    VASU

  • How to set User Name in session?

    Can anyone tell me if there is an user name variable already stored in a session object to which I can assign the user's name? I usually do this by storing a variable in the session to hold that name. When I print the session object (I am using websphere) I get the following...You will notice that there is a user name field that has value anonymous....how can i change that to store the actual users name?
    Thanks in advance,
    jk.
    Session Object Internals:
    id : 1M12TXAPPYUZAJJJ4SS5IVY
    hashCode : 586456410
    create time : Sun Jun 30 15:17:38 MDT 2002
    last access : Sun Jun 30 15:17:40 MDT 2002
    max inactive interval : 1800
    user name : anonymous
    valid session : true
    new session : false
    session active : true
    overflowed : false
    session application parameters : com.ibm.servlet.personalization.sessiontracking.SessionApplicationParameters@385b1d5b
    session tracking pmi app data : com.ibm.servlet.personalization.sessiontracking.SessionTrackingPMIApplicationData@38581d5b
    enable pmi : true
    non-serializable app specific session data : {}
    serializable app specific session data : {}
    session data list : Session Data List -> id : 1M12TXAPPYUZAJJJ4SS5IVY next : LRU prev : MRU

    ok I did some more reading on the websphere literature and came to understand that the User Name indicated there was really set as part of an authenticated request from a secure page. And if the request was in an insecure page websphere automatically assigns "anonymous" to it.
    Security integration rules for HTTP sessions
    Sessions in unsecured pages are treated as accesses by "anonymous" users.
    Sessions created in unsecured pages are created under the identity of that "anonymous" user.
    Sessions in secured pages are treated as accesses by the authenticated user.
    Sessions created in secured pages are created under the identity of the authenticated user. They can only be accessed in other secured pages by the same user. To protect these sessions from use by unauthorized users, they cannot be accessed from an insecure page.

  • How to set user checkbox permission with pcd api.

    Hello,
    I want assign group permissions to PCD objects, with the PCD API. I could create ACLs but can't set the User checkbox for the new created ACLs. Any ideas how to manage this.

    The end user check box is the same as setting 'Pcd.Use'. The role assignment is the same as 'com.sap.portal.pcd.roleservice.roles.Assign'. I'm not sure if these are official! I just use them in some of my own code...

Maybe you are looking for

  • Problem Printing Jewel Insert

    Why does iTunes include ALL digital booklets that are in my iTunes on the song list for a jewel insert? For example, when I select the songs on an album and go to print and select the type of insert I want, the song list includes not only the songs I

  • Can inbound Idoc Contain .PDF attachment?

    Hi there, I have a requirement where there is a need to create an Inbound Idoc in the CRM system containing a .PDF file attachment. 1) Can and IDOC contain file attachments? 2) If yes which segment woult contain it, or how it should be attached. The

  • Why won't my macbook pro recognise my webcam?

    I have a 13" macbook pro, bought in September. Up until yesterday my webcam has worked fine, now whenever I go on Skype, photobooth or facetime it comes up with a black screen saying "There is no connected camera". I have tried restarting, turning it

  • Fade out

    How do you fade out a song in total?

  • Problems w ios7 downloaded this morning

    I downloaded ios7 this morning and since then experiencing "low battery" alert and shut down of iPhone extremely fast even if once plugged in battery is indicated as charged. Why????? Tks for ur attention