Oops,It looks like initWithRequest seems to work. The problem was in the
caching of my UIViewController which has a UIWebView. For UITableView, in
viewWillDisAppear, i can invalidate data (by causing a reload and returning
no data). I can see that UIWebView has a reload method. But i need to be
able call this from somewhere so that whenever the view loads it needs to
fetch the data always ? Is this possible or i have to disable caching
ViewControllers that have UIWebView in them ?

Thanks
mohan


On Tue, Jan 20, 2009 at 12:22 PM, Mohan Parthasarathy <surut...@gmail.com>wrote:

> Hi,
>
> I want to be able to establish the TCP connection to a server and do
> multiple HTTP GETs with different URLs. I thought will achieve this by
> allocating a NSURLConnection and then initWithRequest:urlRequest with a
> different URL everytime as there is no other way to set the URL. It looks
> like that this is not working and the URL is not changing. Is there a way to
> not to allocate the connection everytime i need to send a new request ?
>
> While debugging, i found that sending a description message to
> NSURLConnection coredumps. Is that right or a bug in my program ?
>
> Thanks
> mohan
>
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to