In my app I have an Administrator role, and these kind of users can change the role of a user(client, manager...). I am using the built in Membership provider. Here is what I tried to do...
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult EditRole(string usernameID, FormCollection formValues)
{
var db = new App...
Here's my .htaccess file:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* ?p=$0
Which should redirect to mysite.com/?p=request only if request is not a file. But, it's improperly matching a request like http://mysite.com/auth.php?openid.ns=http%3A%2F because of the %2F (auth.php...
A good friend just sent me the following email
My father is putting together a proposal for a local college to start a center of innovation and technology. As part of that, he’s proposing they teach web design and web development. My question is in your opinion what are the “industry standard” tools for both web design and web develo...
Not exactly about programming, but I need help with this.
I'm running a development sever with WampServer. I want to install Python (because I prefer to use Python over PHP), but it seems there isn't an obvious choice. I've read about mod_python and WSGI, and about how the latter is better.
However, from what I gathered (I may be wrong...
The current trend in web applications seems to be towards using GET requests for everything. Specifically, using RESTful URLs that describe a service, a command, and its parameters. A few months ago, Jeff Atwood posted about the dangers of XSS. He demonstrated how even allowing users to post on your site something as seemingly innocuous ...
I am trying to build an IVR and hook it up to my website, what are the different (inexpensive) ways that I can do it.
...
I'm trying to identify what would be the best selling point for a set of articles I'm writing. Should I cover RSS feeds or Facebook/Twitter/YouTube integration into a web site? Or something else? I'm already covering Image galleries, blogs, forums, polls, (and even shopping carts). I apologize if this is too subjective. I just want to kn...
I am working on a web project as a Web Site, rather than a Web Application. How can I use a different config file depending on where it is hosted from, so the local version uses my local SQL install, but the published version uses the live database? e.g. connectionStrings.config ignored (not published), connectionStrings.live.config publ...
Hello, I'm attempting to code Box and Whiskers graphs in html. The issue is, I have borders around a div (as in, the Box), but these borders disappear when overlaying the previous layer, which contains a banded color image. The preference is not to use a background image (or colors) here if I can avoid it.
The html is:
<table cellspac...
Did you used Dynamic websites before? you see its a good way for making fast admin areas for our websites?
Is it easy to customize?
Is it easy for the end user to manipulate?
I am thinking to use it with a client and didn't use before, can you advice?
...
Can anybody list the Technical skills required to be a Senior Web Developer?
What I know that the person starts in the fields as Programmer then he becomes Developer after that Senior Developer ...
...
I have a three step registration process, all on one page, the last of which requires the user to select a saved payment method or input a new one.
Obviously, I want to collect that new data over SSL. Step 2 of the process involves showing the user a Google map, and the GMaps API doesn't play nice with SSL.
My solution is to use a popu...
Hi,
I am working on an Asp.net website with 4 other people. The problem we have is what kind of hardware setup do we need in order to enable team development?
We have four individual desktop computers what other hardware would we need?
What other development software would be ideal for such development?
...
I have been developing a web application in Seaside+Squeak recently, and have found it to be a wonderful experience. Seaside really is head and shoulders above every other framework out there, and I feel as though I am working at a higher level of abstraction (above the HTTP request/response cycle and HTML templating that other framework...
What is the best way to Free Memory in Flash ? Does it have a Garbage Collector ? How to invoke that GC ? How to make Objects applicable for Garbage Collection ?
I have a Website which displays a lot of charts. I observe that the memory that the IE uses while we display these charts continues to increase and sometimes reaches around 500...
I am developing some kind of financial market simulation on GAE. Although I have attained much progress, I have begun to consider dismissing GAE and going for a Django + rdbms solution for the last few days. Let me state my reasons:
transactions: GAE supports transactions with single entity groups. if an application involves complex tr...
I am trying to set a cookie in my Google App Engine page:
self.response.headers.add_header('Set-Cookie','CookieName=1234; expires:Sun, 31-May-2009 23:59:59 GMT; path=/;')
The expiration date is not showing up in the browser. So it deletes itself at the end of the session.
Here is the output from curl -D:
HTTP/1.1 200 OK
Content-T...
I'm building something similar to a price comparison site. This will be developed in ASP.NET/WebForms/C#/.NET 3.5. The site will be used by the public, so I have no control over the client side - and the application isn't so central to their lives that they'll go out of their way to make it work.
I want to have a table/grid that display...
I'm learning python and my current focus is on web programming. Thx to some help from stackoverflow, I recently made some reasonable progress. While still at basic level, I can now "somewhat" comfortably use html templates, web frameworks (haven't done anything significant yet), sqlite (no mySQL yet), etc.
Before I start another proje...
What is best way for making a draw panel in a web page. I would like to know how to develop something very simple,for example little panel where users can draw a signature.
This is great example drawhere.com, but I need something way simpler.
Thanks
...