web

Webscraping a javascript based website

Hi, There are many tools that scrape HTML pages with javascript off, however are there any that will scrape with javascript on, including pressing buttons that are javascript callbacks? I'm currently trying to scrape a site that is soley navigated through javascript calls. All the buttons that lead to the content execute javascript wit...

Check for script in asp.net text box

We would like to stop users inputing html or javascript in a text box. We can just parse the input and check for angel brackets. Was wondering is there a better way to do this? ...

how to return arraylist of custom object from web service?

Hi, How can i get array list of custom object from web service? I define a method that returns a list like this : ArrayList<Car> getVehicle() {...} But in client ws, I receive an ArrayList of objects... It seems I can't cast it even by copying custom class to client jar file of my applet, like serialized object... How can i do that?...

SEO - Landing Pages registration

Hi, I have created 3 Landing Pages. What is the best way to reference them in Google? 1) Save it in my sitemap.xml? 2) created real links in my site that redirect to these pages ? (hidden link ?) why you prefer one technique over another? ...

C# code for saving an entire web page? (with images/formatting)

Hi, I've been struggling to find an exmample of some C# code (I'm using C# Visual Studio 2008 express) that can programmatically save an entire web page (given a URL) including the images and formatting (e.g. CSS). The intension is that in a subsequent I'd ship this off (not sure how yet) so it could be view later via a browser. Does ...

Database / PHP security question

Hello, We are developing a very simple first stage GUI for a company database. At the moment our time to deliver is rather limited. So we thought about using a simple SQL stored procedure and retrieve all data. The data the users are allowed to see is depending on security levels defined in the database and also in our Active Directory....

Is it possible to manage the top navigation bar using SharePoint web services?

I am trying to remotely add links to the site top navigation bar. It is necessary for me to use SharePoint web services. I was able to create a sub site using the websvcMeetings, but there are no links in the top navigation bar. It should inherit parent's top nav bar and the parent's top nav bar should have the link to that newly created...

Automatically Login Google Web Crawler

I would like to automatically detect Google and other Crawlers and log them into my ASP.NET website. Has anyone found a reliable way to do this? The Login part is easy, however to reliably detect them is the real issue. Regards. ...

Where to find code that can read email from hotmail?

I know there are a lot of commercial applications on different platform (windows, firefox, even the iPhone) that can read emails from hotmail. I'm trying to build a similar function into my software. Where can I find sample of this code? Hotmail does not support IMAP, only POP so a lot of things are possible through the "official" mean...

Recommendation: CMS to integrate with javascript based solution.

We have a mutiple asp.net (webforms, asp.net 2.0, .Net 3.5) public facing websites.Each website is used by mutiple clients. We need the ability for the clients to be able to manage the content on the public facing websites. This content needs to be managed in a javascript based website and the data needs to be stored in a SQL server data...

Guidelines for building web pages specifically for iPhone and iTouch

I need to build a couple of pages that will only be ever viewed from either an iPhone or an iTouch. Are there guidelines or tutorials for building such pages? ...

Request-Response logic

public function run() { /* * wrap uri in a decorator */ $uri = new URI(trim(str_replace($this->base_path, "", $_SERVER["REQUEST_URI"]), "/")); /* * fetch appropriate resource from uri */ $this->resource = new Resource($uri); /* * prepare the request */ $request = new Request; /* * get the response of the app base...

How does the HTML5 Web Sockets Interface work?

I heard about the Web Sockets Interface in the HTML file specification from a relevant question here. It sounds very promising! I don't understand how it works does it still use the HTTP protocol and works-around it or does it work something like TCP sockets? ...

Passing parameters to asp.net web service using iPhone SDK

I have seen many examples of json web services with WCF in asp.net that accept one in-parameter. I need my service method to accept many parameters and return a list like this; public List<Car> GetCarById(int carId, int password, List<Car> carList); How can I call this service if I want to pass all these parameters? I'm trying to use ...

Do robots crawl iframes?

Is it common for robots to crawl inside iframes? And how do they do that? Do they index it instantly or do they just 'remember' the URL and continue sometimes later? ...

Does Tomcat accept IPs?

Hi there, I have a Tomcat app that is acting as a web server/gateway to Sun Systems Connect (which is itself the gateway to Systems Union Accounts that I suspect is the gateway to happiness). Anyway. I can access the app's login page via a browser as long as I use the machine name (or localhost when local). But neither the machines IP ...

2005 web service that I cannot consume in 3.5 app

When I look at the .asmx page in the browser I see: The following operations are supported. For a formal definition, please review the Service Description. AcceptCaseInformation ClearServiceErrors CreateBatch GetBookingsOnIndictment GetCaseInformation GetCasesForJacket When I reference the asmx file in my project I do not...

Error message "unable to open web site" with VS 2008 on Vista

I am trying to open a project in VS 2008 and my domain account it in the administrator group. I get this message: "Unable to open the Web site 'http://locahost'. To access Web sites on thie local IIS Web server, you must run Visual Studio under an Administrator account in order to have access to the IIS metabase. Alte...

Adding a custom SOAP header using c#/ASP.NET

I am trying to use a traffic web service. An example of the SOAP request is given below. I have created a proxy class in c# using Wsdl.exe from the WSDL structure. What I think I need to do now in somehow insert the 'authenticate' SOAP header into the SOAP structure for the method call. I'm unsure how to add the header to the service ...

How to check if a file exits on an webserver by its URL?

Hi, in our application we have some kind of online help. It works really simple: If the user clicks on the help button a URL is build depending on the current language and help context (e.g. "http://example.com/help/" + [LANG_ID] + "[HELP_CONTEXT]) and called within the browser. So my question is: How can i check if a file exists on th...