No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I've tried several combinations of commands like the following to finish a session: [code] Request.Cookies.Remove("cookie1"); Request.Cookies.Remove("cookie2"); Request.Cookies.Clear(); Response.Cookies.Remove("cookie1"); Response.Cookies.Remove("cooke2"); Response.Cookies.Clear(); [/code] But after that I go to another page that checks for the existence of the cookies, and it still finds them. Any ideas? Thanks in advance. |
|
Hi. I'd like to know if there's a feature available in LINQ that let's you know if the data you received from a query is outdated because of the database being modified at a later time(outside the program). Also if there's is a kind of listener function that updates the … |
|
Hi. I need to modify a PDF document(alter some of its text). So far I've managed to do it by splitting the document into three parts using fpdf. Then, I modify the text on the middle part. Finaly I merge them back together. Is there a way to alter the … |
|
Hi, I'm looking for the equivalent in C# of this function: strip_tags(). I want to use it to validate some input and avoid SQL injection. Any ideas? Thanks in advance. |
|
Hi, I'm trying to save some data taken from a ISO-8859-1 encoded page into a SQL SERVER 2005. The problem I have is that when I retrieve the information and put it in a XML there are characters missing. I'm using the URLEncoder.encode method to escape the "bad" characters from … |
|
Hi, I have several forms in a html page, each one of them send parameters to a different PHP script. How can I do this on ASP.NET? Using ascx user controls? sending the parameters to C# files? Thanks in advance. |
|
Hi, I'm having a having a hard time trying to insert some data into a mysql DB, so I'd like to know if there is some kind of error log that could help me. I've already looked into the binary log but it didn't help me. I also started mysql … |
|
Hi, I have the following code: [code] $date = 'Nov 7, 2007'; echo date('Y-m-d', strtotime($date));//outputs 2007-11-07 $date2 = $dates[1][0]; echo $date2;//outputs Nov 7, 2007 echo date('Y-m-d', strtotime($date2));//outputs 1969-12-31 [/code] How can I have the last line output 2007-11-07? Thanks in advance. |
|
Hi, I'm having a problem using GCC 3.4.2, I'm getting 2 warnings at these lines: [code] int check_format(char array[]){ int i= 0; -------->while(array[i]!='\0'&&array[i]!='\n'){ --------->if( (!isdigit(array[i])) && (array[i]!=' ') && (array[i]!='-') && (count==9 && array[i]!='X') ) program.c:50: warning: subscript has type `char' program.c:53: warning: subscript has type `char' [/code] On GCC … |