web

Downloading a File Protected by NTLM/SSPI Without Prompting For Credentials Using Python on Win32?

The title says it all, even if it is a mouthful! I need to download a file on a corporate Sharepoint site using CPython. Existing codebase prevents me from using Ironpython without porting the code, so .NET's WebClient library is out. I also want to download the file without prompting the user to save and without prompting the user for ...

web services standards in SOA

Web services are becoming heart of SOA. The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI ...

WebBrowsing in C# - Libraries, Tools etc. - Anything like Mechanize in Perl?

Looking for something similar to Mechanize for .NET C#. If you don't know what Mechanize is.. http://search.cpan.org/dist/WWW-Mechanize/ I will maintain a list of suggestions here. Anything for browsing/posting/screen scraping (Other than WebRequest and WebBrowser Control). Parsing HTMLAgilityPack - http://www.codeplex.com/htmlagil...

Question regarding generation of ASP.NET MVC "Create" Views

Simplest case, I'm creating a "Create View" for a task list, and I want to allow the user to select a "Category" from a related table via a dropdownlist. Should I Create a custom model that contains a Task and an IEnumerable? Instanciate the CategoryController from the "Create Task View" and bind the DDL via a method on the CategoryC...

redict to login after session expire

Hello, My application use stardard MVC pattern with jsp and servlets. I like to redirect to login page when the user clicks a link after session expire. Same application is used for many countries, so i give a country code with the login url. So simple redirecting to login page is not possible. How can i redirect to my web application r...

Linux Firefox default sans-serif font

Which font is the default "sans-serif" font in Linux? When I go in Windows to Options, Font, Advanced I can see that the default sans-serif font is Arial, but in Linux it only shows "sans-serif" as a font by itself. Any idea how can I check which "sans-serif" font is this? ...

What is the iPad user agent?

Now that the iPad craze is officially open, it's time to think websites also for the iPad. From what I gather, the iPad is using iPhone OS, but with a different screen resolution from the iPhone/iPod touch. So suddenly, the assumption that iPhone OS = iPhone screen resolution becomes false. Sounds like many sites may have to revise their...

Upload image with Photoshop scripting

Is that possible to upload an image from Photoshop (for example, an open image exported to jpeg) to some web place - REST service, FTP etc by using scripting features of Photoshop? For example - I have an image open in Photoshop and then execute some special script that sends an exported version of it to some place over the web. I saw s...

Copy Current Webpage Into a New Window

I need to be able to copy the current webpage into a new popup window for a print preview. There is a grid on the page with children, so if they expand one of the rows to see the child rows, I need to show this in the new window. Is this possible? I currently have the popup window open up the same page, but all none of the rows are ex...

Web Application within a Web Site in Visual Studio?

Visual Studio allows you to make "Web Sites" and "Web Applications", but, inside a project, can you have one within the other? Say I have my website "www.mysite.com" and I have an application called "BudgetCalculator". One the production server, this is supposed to be located at: www.mysite.com/BudgetCalculator And the BudgetCalculat...

Why do ad manager add a lot of parameters to URLs

It seems that each time I see an ad that is served by an ad manager application there is always a bunch of parameters added to the URL of the product. Say for instance one random stackoverflow ad : http://ads.stackoverflow.com/a.aspx?Task=Click&ZoneID=4&CampaignID=474&AdvertiserID=5&BannerID=408&SiteID=1&RandomN...

How can I get php source code to display neatly on my website?

Hi, is there some Javascript/CSS snippet or perhaps another solution to parse PHP source code intended as content on a web page so that it has highlighted elements for commands, variables, brackets etc? ...

Slow down spidering of website

Is there a way to force a spider to slow down its spidering of a wesbite? Anything that can be put in headers or robots.txt? I thought i remembered reading something about this being possible but cannot find anything now. ...

web services @.net or java

confusion in using either jax-ws(java) or .NET for implementing the web services. i would like to develop some web services and check the security loopholes in them(means to stimulate some attacks in SOA such as coercive parsing attack, dos attack etc..) Which one either Java (or) .NET will be better for programming the web services for ...

Desiging a template-based CMS Question

I need to develop a template-based content management system. I don't care about what operating system will be used to run the CMS -- as my server is dedicated. It can be Windows, Linux, whatever. But, I need a recommendation for a platform/framework for this purpose. The CMS should be fast, and should support friendly urls. Here's an e...

In an html document, is it a bad practice to resize images with the height and width tags?

If I have a logo image, and I want to use it on another page where I require it to be a smaller size, it is my instinct to create a new image, resized with a graphics editor. However, I am hearing that it is better for the user if I instead refer to the original image and resize it with the browser by changing the height and width in th...

c#.net web service

i want to create a simple webservice , and i want to call that webservice from a client program using c#.net. As i am a beginner, i find it difficult to do it. can anybody help. Thank you... ...

PHP & APC: One object in cache with multiple keys?

I'm implementing object caching in a PHP application using APC. The issue is, that sometimes I will select something from the database based on different criteria. For instance, when a user logs into the web site, all I have is his username and password, so I'm going to select from the database based on the username. In other situatio...

Is it secure to use an online free web based cron?

I have a mailing list page in one of my asp.net web application... I found an online web based cron to execute the url of MailingList.aspx once a day in my application... Is it secure to use an online free web based cron? What should i watch out for when using them? EDIT: Anyone who uses web based crons for scheduling their tasks c...

Securing Large Downloads Using C# and IIS 7

Here's the setup: 1 web server running a C# app to which my users (stored in a MySQL database on said server) authenticate. 1 file server running software TBD. In the past I've used lighttpd and mod_secdownload to secure the files on the file servers, and it's worked well(ish). I'm wondering if there is a way to do this using a com...