web-development

How to upload a file to a website using HTML

Hi, I'm developing a website and I'd like the users be able to upload files to the server using a webpage. The server side is .NET, but it's not ASP.NET. That means, I'm generating the html code myself instead using ASP.NET, and I'm working with the GET string and POST stream directly. It's a good exercise to learn what happens under ...

Product images not showing after migration of magento website

Hello friends, I currently migrated my magento website to a different server, and here's the process I used: 1) made a dump of the database. 2) copied all the system files from the FTP to my hard drive. 3) emptied the VAR folder 4) emptied the media cache folders 5) replaced the strings in the SQL dump from http://www.oldsite.com to ht...

Book on "Internet Programming"

I'm about to begin a Software Engineering course and am in the process of gathering the reading lists for each class, however one class, "Internet Programming", doesn't specify a reading list on the grounds that it would be out of date before it was even published, and so I was wondering if anyone knew any good modern books on the subjec...

to provide access from one account to the data of another

Hello. I'm going to develop a multiuser system, where people can register an account, log in, store and manage the data of the account. For example, email address idetifiers a user. Could you tell, please, how to provide the user of one account access to the data of another account. For example, by providing a link in the account that g...

how to scroll control to the top of screen

Hi, How do I scroll (ideally smooth scroll) down such that the specified control is at the top of the screen? (ie, how do I bring the screen down to the comment section such that the 'comments' title is at the top of the screen?) ...

WCF Authentication using SQL Membership Provider

Hopefully you folks can clarify some of this for me. I have a web-application using the Sql Membership Provider and it talks to a second web-application through a WCF Service. Both applications share the same Sql Membership Provider datastore...but I need each WCF Service call to authenticate the user. Now, I've looked at a LOT of sam...

Which web hosts have an API?

I'd like to create a website creation tool that allows the user to publish their website on the web. I don't want to do the hosting side of it, so I'm looking for a web host that offers an API so that my app can programmatically create user accounts, upload files, etc. Note that FTP isn't enough because I want the user to be able to do ...

Programming language for simple dynamic web site development?

I only know the basics of HTML/CSS. The only experience with web development I have is whatever I learned in Web Development 101 at my university, aka "OMG - CSS u guise, 101". I'm mainly interested in building simple dynamic sites. That's the whole reason I got into this in the first place. I'm at the point now where I realize that it...

Can an HTTPs page be reused for searching?

I have a main page that users visit via https. From that page, they can do a google search. However, the search results is displayed via http and I no longer have control over the search page. Is there a way to 'trap' the results and send it over a custom https page so the users results can be private? Update: I guess the real question ...

Opacity in IE8 works on <p> but not on <a>

I have a problem with IE8 where I cannot make <a> elements transparent. I've found these related SO questions but I haven't had any luck with the answers provided there: Opacity CSS not working in IE8 Opacity in web pages? I've tried "giving layout", by using zoom: 1;, but it hasn't helped. Here is my test CSS, lifted from the exampl...

Repeating Content On Web Page

What is the best way to include repeating content on every page of a website such as a navigation menu? ...

Any reference to profilecommon causes error Value cannot be null. Parameter name: type

I have searched for two weeks, every night, exhaustively reading forum threads and trying all suggested solutions no matter how outlandish. Just as is the case with the many many forum threads about this same issue, the site works fine on my development machine. It deploys with no errors. It works from the production server and reads ...

extracting linkedin recommendations for display on another webpage without log-in

I am building a wesite for a client who has requested that his LinkedIn recommendations be displayed on one of the pages. Is it possible to do this using the LinkedIn API, or some other tool, without requiring viewers to log-in on the page? Ideally I would like to also be able to control the formatting so that it matches the rest of the ...

are 'long-lived' php objects possible?

So, I know that the general idea in PHP is that the whole application is loaded and executed every time the page loads. But for optimization of a sizable object-oriented PHP app that needs to be portable…is it possible to load an object into memory that can be used for every request, not recreated for each one? I've seen people using th...

Choice of library/framework to implement a small collaborative web application

We are a group doing some academic research on Human-Computer Interaction and usability. Right now, we need to implement and test a new concept in order to evaluate it. The end-product will basically be a small website. The website has some basic sign up and log in facilities. But the main functionality is a canvas were multiple users c...

Can you reuse a LINQ datacontext in an ASP.NET MVC application with strongly typed views

Hi, I am somewhat confused on how to properly use LINQ in combination with an ASP.NET MVC strongly typed view. My situation is as followed. 1) I retrieve a single object through LINQ 2) I pass this LINQ object to a strongly typed view. (edit form) 3) The user submits the form and the controller receives the LINQ object. So my questi...

fastest scripting programming language?

Hi all, I have a web application project where performances count more than anything else, and I have the choice of the technologies to use. The language shootout benchmarks that are not really related to web applications. What would you recommand as the best suitable candidates? Thanks! A friend suggested the gwan server on IR...

client-side file caching

Hi, If I understand correctly, a broswer caches images, JS files, etc. based on the file name. So there's a danger that if one such file is updated (on the server), the browser will use the cached copy instead. A workaround for this problem is to rename all files (as part of the build), such that the file name includes an MD5 hash of i...

.NET Web browser component that allow you to capture the GET and POST data

I'd like to develop an .NET application, where you navigate in a website and the app records the GET and POST data you send to the server, so later on you can reproduce it programatically. I've been taking a look on the WinForm's WebBrowser component but I see no way to get the POST data I'm sending. Do you know of any component (even ...

"Request is not available in this context" in a IHttpModule

Hi, I'm getting that exception when I try to access the HttpContext.Current.Request object. I've seen the responses in l1, l2 and l3 ... so... my question then is : For what in the world are IHttpModules now for? I wanted to develop a module that gets hit every time a call enter to may website, so I can log the url accessed, the use...