web

Usability implications of partial page scrolling

What are there the usability implications for a long list of items (f.e. facebook news stream) to use an internal scrolling (just the list panel) vs a full page scrolling. Edit1: Do you have references of analysis/guidelines discussing this issue? ...

How to disable Keep-Alive per Directory

Is it possible to disable Keep-Alive on a directory basis? For example, I have an API that runs on something like domain.com/api/ It'd be nice if KeepAlive was not used on any requests in the /api/ directory. Update/Solution: SetEnvIf Request_URI /api/ nokeepalive Source: http://httpd.apache.org/docs/2.2/env.html ...

What happens when MaxKeepAliveRequests limit is exceeded?

If a user hits the MaxKeepAliveRequests limit, what happens? Does the user get an error or does it just create a new connection? ...

PHP registration script: verifying and telling the user what went wrong

Hi, I'm building a registration script and I want to insert the user's input (username, mail) ONLY if it's not already in the database. What I usually do in such cases is a request to see if something's already there, something like: "SELECT * FROM things WHERE thing_name = '$treated_user_input'". I have two fields that need to be uniq...

Is PHP a web Technology or a scripting language?

Its very basic and silly question.... Is PHP a web Technology or a scripting language? I believe as it is scripting language, but why other believes it as web technology? and if its a scripting language then in which web technology does the PHP counts in? i know it might seem a vague question to some people, but lets face the truth ...

Help needed wit the XPath statement for Selenium test

I am testing a calendar component using Selenium. In my test I want to click on the current date. Please help me with the XPath statement for doing that. I am adding the HTML for the calendar component. <input id="event_date" type="text" on="click then l:show.event.calendar" style="border: 1px solid rgb(187, 187, 187); width: 100px;" f...

web service client authentication

I want to consume Java based web service with c#.net client. The problem is, I couldnt authenticate to the service. it didnt work with this: mywebservice.Credentials = new System.Net.NetworkCredential(userid, userpass); I tried to write base class for my client method. public class ClientProtocols : SoapHttpClientProtocol { ...

How to Identify the website's content language like English, Japanese, Chinese etc

(I am developing a website to crawl the other website content in ASP.NET . I am able to get the content correctly but how can I identify which language is used based on that content. For Ex. English, Hindi, Chinese, Japanese etc. I used following code. HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(TextBox1.Text ); ...

Why does my sharepoint web part event handler lose the sender value on postback?

I have a web part which is going to be a part of pair of connected web parts. For simplicity, I am just describing the consumer web part. This web part has 10 link buttons on it. And they are rendered in the Render method instead ofCreateChildControls as this webpart will be receiving values based on input from the provider web part. E...

why including www in a jquery load causes it to fail?

Could someone enlighten me as to why including www in a ajax request causes it to fail. i.e. This works: $('#mydiv').load('http://mydomain.com/getitems'); But this doesn't (returns nothing) $('#mydiv').load('http://www.mydomain.com/getitems'); Note that www.mydomain.com/getitems is a valid domain, in the sense that if I point my web...

How to make c# form mirrored?

Hello, I have some text in a web browser on my form in visual studio, this form is going to be displayed on a big screen and it's content need to be mirrored(flipped) in order to be seen on the other place through mirror. It is not rotation actually. I know it is possible to do it with images, but it is not applicable in my case, becaus...

Web Development further direction

Hi guys looking for some guidance, i have a knowledge of xhtml, css, javascript, php generated from education. But where do i go from here to reach an industrial standard? for example using those 4 languages, i have used notepad++ to write them. I'm particularly focusing on web development here. What softwares should gain experience of...

PHP Session var through AJAX problem

Hi, is it possible to define a PHP Session var through AJAX? I'm doing it in the background of a script and it seems to be kind of random. ...

Large HTML documents to PDF

I'm working with an asp.net application that produces large PDF documents from HTML. The content is perhaps complex (detailed grid type listings, css styled, running to 40+ pages) compared to typical usage. None of the libraries we've tried are performing adequately. Typically a 40 page document is taking upwards of a minute to render on...

cross domain gwt ?

is there a way to run gwt on a proxy loaded web page ? ex) using proxy script on myexamplesite.com that loads finance.google.com, and running GWT on the newly loaded page. I've been doing the above before I found about GWT, using LAMP stack + Jquery (UI), which quickly turned out to be crap and inefficient. All this trouble to bypass ...

Problem with two servlet engine cookies-based sessions in one browser

Recently we met problem with sessions in our Java web app hosted in Tomcat. Sometimes our users share one computer and browser for working with web app. Web app uses cookies-based sessions. Web app has page with same HTML form but with specific data for each user. Let`s imagine that User1 passes authentications and loads this form wi...

Getting jStorage to work

So I think jStorage is what I need to solve one of my problems. It needs JSON to be working with jQuery, so I've tried including it, but it doesn't seem to work. I have no idea what JSON is actually. Here's my code (jQuery is loaded higher). It doesn't even show the alert window. <script type="text/javascript" src="jquery.json-2.2.min.j...

caching problem

I wrote one script which is running on the linux machine.It fetches data from one url and displays the content on a page. The problem I am facing is some time if I refresh the page 4-5 times it displays the old content and not the latest one. The problem could be because of caching proxy which is still caching old content. Please tell m...

QTP read webtable content

Hello guys, I have a WebTable in QTP like: <TBODY> <TR></TR> <TR> <TD> <TABLE> <TR> <TD> <DIV class=divRow id=divRow_d_0> <DIV class=divFirst>1</DIV> <DIV class=divData>toto</DIV> <DIV class=divData>fofo</DIV> </DIV> <DIV class...

What are the iphone/android specific Web features?

I'm trying to list Web features (HTML, CSS, Javascript, APIs) that can be used for mobile web pages, things we don't usually use on Desktop browsers. So far, I have: geolocation orientation viewport (width, scale) touch-events tap-highlight-color map and youtube links open in a dedicated app tel: links support specific keyboard layout...