Hi,
This question refers
Where does setting the CACHE-CONTROL HTML meta tag come into the autocomplete argument? Is it necessary to explicitly set autocomplete=off for sensitive inputs if you have told the browser not to cache anything by setting CACHE-CONTROL=NO-CACHE? I assume that if the browser has been told not to cache anything, ...
I'm encrypting the web.config in our web sites using aspnet_regiis. However, I want the ability to export the encryption key so if we need to move from Machine A to Machine B, asp.net will be able to decrypt it.
When I run aspnetregiis -px "NetFrameworkConfigurationKey" c:\keys.xml -pri, I get the following : 'Key not valid for use in s...
I cannot believe I'm the first person to go through this thought process, so I'm wondering if anyone can help me out with it.
Current situation: developers write a web site, operations deploy it. Once deployed, a developer Smoke Tests it, to make sure the deployment went smoothly.
To me this feels wrong, it essentially means it takes t...
For performance testing, I would like to capture some traffic from a production server and use that as a basis to replay the request to a test server in order to simulate a realistic load in our development environment. These are all stateless queries, so no issues regarding cookies, sessions, etc.
The Apache log timestamps everything ...
My company (an engineering firm) is looking to redesign their website with some dynamic content. We have a nice portfolio of projects that we'd like to present on our site by category.
To elaborate, I'd like to have a "Projects Category" menu, where you can choose a sub-project category (such as churches, schools, etc) which links to a...
I have created a blog application using Ruby on Rails which includes the ability to vote on posts. A user can click vote and a record is created in the vote table. I am now trying to limit that same person from voting for a post multiple times.
class Post
has_many :votes
end
class Vote
belongs_to :post
end
When a vote record is c...
I just realized that i may not be following best practices in regards to the MVC pattern.
My issue is that my views "know" information about my database
Here's my situation in psuedo code...
My controller invokes a method from my model and passes it directly to the view
view.records = tableGateway.getRecords() // gets array of record...
Everything is OK in Firefox, Chrome and IE8.
This is the site: http://ada.kiexpro.com/html/index.html
Thanks in advance!
...
I can't figure out why this list is not displaying properly in IE7.
The website: http://ada.kiexpro.com/html/about.html
The background image is covered by the div below and the div in the bottom is not displayed.
Thanks in advance!
...
It is aligned in Chrome and Firefox but in IE7 it looks like this:
http://ada.kiexpro.com/html/list.html
(I already fixed the z-index issue I just want to align the list vertically.)
...
The text inside those divs http://ada.kiexpro.com/html/photo.html get out of place when they are displayed in IE7?
Thanks in advance.
...
I currently have a mysite.com (A) which points to /public_html/ and a dev.mysite.com (B) which I created a /dev_html/ for that. I cloned the site but now I need a way of switching between them without having to copy all the files from one dir to another and without bringing the site down. I just want to switch the live site to B and then...
What is the best way to allow for the adding of images and embedding of video in the body:text field of a Ruby on Rails blog.
I understand that I can use an attachment like Paperclip to add a photo to a record but I am wondering how to get images/vids into the actual body of the post.
...
I'm facing problem when migrate my web app project from development server to live server. the reason is because i just realize that the live server has different PHP version and available memory lower then mine.
i found this after client give me their ftp and cpanel access of their server, which is a shared host.
so,
how do we han...
I'd like to set vendor styles with Javascript, something like this:
elem.style.mozBorderRadius = '5px';
Is this possible? If so, how?
...
In general, how do you guys handle user update/data freshness interaction with the user (UI issue) in web-apps?
For example:
Multi-users web-app (like project management)
Login to a "virtual" space
People can update project names, etc
How to handle a situation such that:
user-A and user-B load a project with title "Project StackOve...
I'm looking for a easy way to post data to webpages while keeping the cookies. for example you login to somewhere, and later you do some new actions.
What's the easiest way to do that?
...
I've been doing a little JavaScript (well, more like jQuery) for a while now and one thing I've always been confused about is where I should put my scripts, in the <head> tag or in the <body> tag.
If anyone could clarify this issue, that'd be great. An example of what should go where would be perfect.
...
I just installed the plugin for Paperclip and I am getting an error message "undefined method has_attached_file for. Not sure why I am getting this. Here is the full error message.
NoMethodError (undefined method `has_attached_file' for #<Class:0x10338acd0>):
/Users/bgadoci/.gem/ruby/1.8/gems/will_paginate-2.3.12/lib/will_paginate/fi...
Hi, I have a box built via html borders.
I want to connect the bottom left corner to the top right corner with a diagonal line. Either with html/css or by using a background image, doesn't matter. I'll figure that part out later.
------
- /-
- / -
- / -
-/----
Here's the tricky part: I want a different thing to happen depending o...