You Are Here:

Community: Developer Discussion Boards

#1 Old 6310i closing gprs session, how to avoid - 2003-04-26, 15:08

Join Date: Apr 2003
Posts: 2
daniellsunny55
Offline
Registered User
Hi,

I'm developing an application where I am polling the server every minute for the data. I do that in background thread. It creates the httpconnection, sends the requests, receives the data and sleeps. On 6310i the gprs connection is closed and reopend every time which is not acceptable. How can I avoid that behaviour ?

What is telling my phone to close the gprs session ? Is there any way I could modify that behaviour ?

Thank you in advance.
Daniels
Reply With Quote

#2 Old Details - 2003-04-26, 19:35

Join Date: Mar 2003
Posts: 258
Location: Moscow/Russia
Send a message via ICQ to henson2K
henson2K
Offline
Regular Contributor
Can you give more information about your queries?
POST or GET
Ordinary situation is closing connection with 'Connection' http header. Do you know that?
Reply With Quote

#3 Old Details - 2003-04-27, 09:33

Join Date: Apr 2003
Posts: 2
daniellsunny55
Offline
Registered User
I am using GET method.
And one of headers is 'Connection: Keep-Alive'.
When I look at the server side, the server receives both Connection: close and Connection: Keep-Alive headers, modified by the WAP gateway...

However I don't mind if my connection to the server is closed and opened. The real problem is that the phone is __closing the GPRS session__ (the G sign at the phone dissapears) and reopening it again. This happens every minute. If I poll the server every 30s the GPRS session is closed every 30s. This is the real problem.

Daniels
Reply With Quote

#4 Old Stupid wap gates often break our hopes. - 2003-04-27, 09:55

Join Date: Mar 2003
Posts: 258
Location: Moscow/Russia
Send a message via ICQ to henson2K
henson2K
Offline
Regular Contributor
I don't have any idea about it.
Reply With Quote

#5 Old Re: 6310i closing gprs session, how to avoid - 2008-06-17, 05:55

Join Date: Mar 2008
Posts: 10
ychitnis
Offline
Registered User
Hi daniellsunny55,

Did you get that problem of yours solved? It's been a long time since you have posted this problem. But as a matter of fact, I am seeing the exact opposite behavior. In my case once the GPRS session is opened by the phone it stays connected for long duration but once it get disconnected there is no recovering from it. The only solution is to shut down the application and start it.

So if you have any pointers as to how you solved you problem may be I can get some clue as to how I can solve mine.

Regards,
Yogesh
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia