×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    80

    user agent after signing

    Hi,

    My application works fine before signing with Verisign certificate. After signing, It doesn't send the "user agent" string correctly when establishing http connection.

    I gave the permissions by inserting into manifest and jad files like that:

    MIDlet-Permissions: javax.microedition.io.Connector.file.read, javax.microedition.io.Connector.http, javax.microedition.io.Connector.file.write, javax.microedition.io.Connector.https
    MIDlet-Permissions-Opt: javax.wireless.messaging.sms.receive, javax.wireless.messaging.sms.send, javax.microedition.io.PushRegistry, javax.microedition.io.Connector.sms, javax.microedition.io.Connector.socket

    What can you say about it?

    Thanks and regards.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: user agent after signing

    With signing, your user-agent string changes. See the MIDP, JTWI and MSA specifications for details. What does your Nokia send?

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    80

    Re: user agent after signing

    An empty string comes as user-agent. Another point is that, When I use https connection, It comes correctly. The problem occurs only when using http connection....

    Thanks and regards.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: user agent after signing

    Is this your Nokia 5800 XpressMusic? Did you check via WLAN as well? Do you use a proxy over GSM/UMTS?

  5. #5
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: user agent after signing

    you can set the user agent in the request header if you really need it

  6. #6
    Registered User
    Join Date
    Apr 2010
    Posts
    80

    Re: user agent after signing

    Yes of course I need them. that's why i am asking.
    When the application is not signed, they are always sent. After signing, the user agent is sent only via https connection. Why it is not sent via http connection?? This is what I really wonder.
    There must be something about signing and http connection. This is what I want to learn.

    Thanks and regards.
    Last edited by asifsanli; 2011-01-17 at 15:59. Reason: eksikti :)

  7. #7
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: user agent after signing

    well then,
    Quote Originally Posted by njzk2 View Post
    you can set the user agent in the request header

  8. #8
    Registered User
    Join Date
    Apr 2010
    Posts
    80

    Re: user agent after signing

    Ok well but I do not use just one device and user-agent changes according to the devices. Then If I will set the user agent manually then I have to get the device model name and set it accordingly. There are hundreds of nokia devices and that is not a clever solution..

Similar Threads

  1. User Agent
    By Eruk in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-12-11, 18:08
  2. About User-Agent
    By linjunan in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-12-29, 01:15
  3. User Agent
    By achan in forum General Messaging
    Replies: 1
    Last Post: 2003-04-09, 16:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×