×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    151

    Disconnect the HTTP connection??

    Hi,

    I am using the web client example provided with the SDK.

    After the successful completion of HTTP Get Request, if i do not close the application HTTP connection remains open.

    I inserted the following code to close the session:
    Code:
    case THTTPEvent::ESucceeded:
    iSession.Close();//to close the session
    but still HTTP connection remains open.

    Please help me out to close the active GPRS connection after the transaction gets completed.

    Regards

  2. #2
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Disconnect the HTTP connection??

    Hello,
    to stop connection you have to close iSession like you do and also iConnection.
    You can also close socket server if you will not use it later

    good luck

  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    151

    Re: Disconnect the HTTP connection??

    Quote Originally Posted by nuker85 View Post
    Hello,
    to stop connection you have to close iSession like you do and also iConnection.
    You can also close socket server if you will not use it later

    good luck
    I am closing the session and transaction. But still http connection remains open as i can see connection indicator in the status pane.

    FYI: In WebClient example am not able to find any iConnection or RConenction

    Regards,

  4. #4
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Disconnect the HTTP connection??

    FYI: In WebClient example am not able to find any iConnection or RConenction
    sorry, thought about this example:
    http://www.forum.nokia.com/info/sw.n..._1_en.zip.html

    Have you tried DisconnectL of RHTTPSession?

  5. #5
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    151

    Re: Disconnect the HTTP connection??

    Nobody having guts to sort out the issue? Where are d forum champions?

    Regards,

Similar Threads

  1. Urgent on Midlet http connection
    By robinqiu in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2008-03-13, 20:45
  2. Single http connection Object for multiple requests
    By J2me_champ in forum Mobile Java General
    Replies: 4
    Last Post: 2008-03-11, 11:42
  3. Another HTTP connection problem
    By issw in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2006-10-04, 16:36
  4. Http Connection
    By jaceline in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-06-09, 16:53
  5. Nokia and Vodafon Italy --> No http connection
    By javame in forum Mobile Java General
    Replies: 0
    Last Post: 2002-11-28, 13:57

Posting Permissions

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