Showing posts with label url. Show all posts
Showing posts with label url. Show all posts

Monday, June 11, 2012

How do I make an http request using cookies on Android?


I'd like to make an http request to a remote server while properly handling cookies (eg. storing cookies sent by the server, and sending those cookies when I make subsequent requests). It'd be nice to preserve any and all cookies, but really the only one I care about is the session cookie.

Sunday, June 3, 2012

Wednesday, May 30, 2012

Path.Combine for Urls?


Path.Combine is handy, but is there a similar function in the .NET framework for Urls?

Thursday, May 24, 2012

Friday, May 18, 2012

Modify Address Bar URL in AJAX App to Match Current State


I'm writing an AJAX app, but as the user moves through the app, I'd like the URL in the address bar to update despite the lack of page reloads. Basically, I'd like for them to be able to bookmark at any point and thereby return to the current state.

Wednesday, May 9, 2012

Validating URL in Java


I wanted to know if there is any standard APIs in Java to validate a given URL? I want to check both if the URL string is right i.e. the given protocol is valid and then to check if a connection can be established.

Monday, April 23, 2012

Thursday, February 16, 2012

Check if URL is valid in Android without catching Exception?


See, I have to check like 50+ URLs for validity, and I'm assuming that catching more than 50 exceptions is kind of over the top. Is there a way to check if a bunch of URLs are valid without wrapping it in a try catch to catch exceptions? Also, just fyi, in Android the class "UrlValidator" doesn't exist (but it does exist in the standard java), and there's UrlUtil.isValidUrl(String url) but that method seems to be pleased with whatever you throw at it as long as it contains http://... any suggestions?

Monday, January 30, 2012

process PHP on hitting URL & configuring PHP


For my website, I want one of my PHP script to be executed on entering on URL before loading the page(before entering into my site, on hitting enter first this has to be executed), could you suggest me how.