Hey All!
I am trying to configure mod_rewrite such that I can access php scripts without showing the .php extension (/mysite/ calls /mysite.php). After finding a tutorial online, I was able to achieve this. However, I noticed that this is not working for subdomains that I create on my website...
Hey All,
I am using a third party control for my web page. I do not have the source code to the DLL. I need to make a very small change the html that the control generates. Is there a way to capture the html generated by the control, and then render the control with that small change.
I can...
In case anyone wants to know, this works:
MyObject[] objects= new MyObject[2];
int objIndex = 0;
objects[objIndex] = new MyObject();
objects[objIndex].someAttribute = "attr value";
objects[++objIndex] = new MyObject();
//Error occurs below that object hasn't been instantiated...
I have seen this tactic used often in javascript, and it won't work in C#. Can someone explain why its not working as intended, i think the code should be self explanitory
MyObject[] objects= new MyObject[2];
int objIndex = 0;
objects[objIndex] = new MyObject();
objects[objIndex].someAttribute...
Hello,
We are experienceing an intermittent index out of range exception being thrown on our production site. Please see this stack trace:
Stack trace: at System.Web.UI.WebControls.ListView.LoadControlState(Object savedState)
at System.Web.UI.Control.LoadControlStateInternal(Object...
Hello,
I would like to create a cookie upon login that can be read on two different subdomains. I have achieved this. The problem that I am having is that I am unable to delete the cookie upon logout, as it can still be read even after it is deleted. Here is the code:
At login the cookie is...
I am trying to write a regular expression validator with not much luck. I want to enforce the following on a password:
At least 6 characters. At least 1 number. At Least 1 letter.
This is what I have which does not seem to be working:
^(?=.*[0-9]+.*)(?=.*[a-zA-Z]+.*)[0-9a-zA-Z]{6,}$
Hello, I am trying to create a custom control for creating tabs. The idea is that our designer can just use the control tags to generate the tabs. The problem that I am running into is that I want to be able to have a custom control that allows any number of child custom controls. So there...
Hey,
I am using a repeater that esentially spits out a set of tables where each repeater item may close a table and start a new one, or just be a normal table row. I am using an asp:panel (and its visibility attribute) to dynamically show or hide the <table> and </table>. the problem is that...
Hey,
I have recently run into a bit of annoyance, as I am writing asp pages with extremely long multiline queries. For example, and this is just an example
Dim query
query = "select * " & _
"from table1, table2, table3 " & _
"where table.col1 = table2.col2 " & _
"and cond 1" & _
"and cond 2 "...
Hey, I am using a web service which is designed to give an HTTP 409 error in some cases. Along with this 409 error, the service sends an XML payload, which I need to be able to read. My problem is that my application is throwing an exception when I tried to fetch the site. Is there a way...
Hello,
I am trying to use a client's API in order to integrate authentication. The problem that I am having is that it appears that their application was written in java, and the encoding of the XML response is ISO8859_1, an encoding which is not supported by the MSXML active x object. Please...
I have a query string like "name=matt&email=blah@blah.com&color=red" How could I parse this into some sort of list or array accessible by the name attribute?
Hello all, our company recently launched a revised version of an existing application today, and our customer service department has been complaining that they are having to log in to the admins section of the site every 2 or 3 minutes, when it used to last for more than an hour. I have...
Hello all, our company recently launched a revised version of an existing application today, and our customer service department has been complaining that they are having to log in to the admins section of the site every 2 or 3 minutes, when it used to last for more than an hour. I have...
Hey,
I am trying to copy a SQL server 2000 database (from enterprise manager) to a SQL server 2005 database (from SQL server management studio). I have tried various methods, each of which returns a different error. Does anyone have a better way of doing this or a solution to one of these...
Hey,
I am writing a migration script from a user table to enter into our new system. In the old system, the passwords were not hashed, but in the new one they are. Since I am already using a cursor, i think the easiest way to hash the passwords would be to call a web service with the userid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.