Search

You searched for the word(s): userid:659114

Matching Posts

  • Re: Security Problem with My Website

    Hi, Thanks for the information, okey, what i understood from the link you sent is that this code is exploiting the cookies, or trying to download some mallware on the client's PC rather than the SERVER? please correct me if i understood wrong. I've already secured my site for sql injection, as well as invalid FORM post or Query String data or Cookies. could you kindly suggest that what other action should i take to prevent this kind of attack, if a normal kind of sql injection prevension
    Posted to Security (Forum) by raheel.hussain on 10/6/2008
  • Re: Security Problem with My Website

    Thanks Shantanu You've given me exactly the right direction. Regards - raheel
    Posted to Security (Forum) by raheel.hussain on 9/30/2008
  • Security Problem with My Website

    Hello Guys, I am sure that I'm posting my message to the right forum. I've done a website in ASP.NET 2.0 and SQL Server. The site runs well, works well and secure, but for past two months there had been some hacking attacks on my site (I would say SQL Injection may be) What happens is that some of my database table fields get an additional value concatenated with the original value contained in the column Suppose CustomerID, CustomerName , EmailAddress 10001, Martin, martin@domain.com 10002
    Posted to Security (Forum) by raheel.hussain on 9/30/2008
  • Re: Grid view ASp.net Select button

    Suppose you want to display what is inside the selected Row's first column of the Grid view (after someone click on the "select" button) then you may use the following code GridView1.SelectedRow.Cells(0).Text.ToString() Suppose you wan to display what is inside the selected Row's first column's text box (if you've placed a databound control) of the Grid view (after someone click on the "select" button) then you may use the following code Dim t As TextBox = GridView1
  • Re: Help with master pages

    Hi, If you have placed all of your pages inside a folder then you must use the " ../ " with the image paths. Supose that you have the header image as <img src="images/head_image.gif"> then after putting all the pages inside any specified grouping folder, you may change the image path to <img src="../images/head_image.gif"> This would do the trick. regards
  • Re: back button issue asp.net 2.0 web application

    Put this statement on the top of the page... in the page load Response.CacheControl = "no-cache" Every time the user clicks on "Back", The above statement will expire the page and ask the user to refresh it, Doing this way, will make sure that all data is re-processed and coming from database You will get the solution of user logs out and press the back button, but will not get the previous page because the server will re-validate the session Regards - raheel
  • Re: Getting gridview rowcount through javascript

    [quote user="DanMikkelsen"] if(document.getElementByID('<% =hidrownumber.clientID %>').value="0") {alert('error');return false;} [/quote] Please make sure that it is not .value="0" with single equals sign, it should be == for comparision Secondly you function for Javascript getElementByID is wrong as the right function is getElementById with small d in the last, remember it is always case sensitive so try the following code if (document.getElementById
  • Re: posting data from ASP.NET page to JSP

    Hi, Sending the Data to any other Server side scripting language , no matter JSP, PHP, Perl or xyz will always be the same That is Posting the Form Post Data, Though there can be many ways, here is what I had used for passing my data from ASP.NET to ASP 1) I pass my data from my actual ASP.NET page to another ASP.NET page ( of which the ASPX code is written below as well as the back end .VB code) 2) After receiving the values into the other page of asp.net, i create HTMLInputHidden (Form post variables
    Posted to Getting Started (Forum) by raheel.hussain on 1/7/2008
  • Re: Having problem with textbox inside repeater

    Did you mean that whatever is inside the Text box (that is outside the Repeater Control) , should come to the Textbox which is insed the Repeater Control (and which also has the focus) but this event to occur when the button is clicked ? if this is the case, then the textbox insede the Repeater control whould never get the focus because the button is click and has the focus when it is clicked. Please correct me if I'm wrong or further elaborate so we could provide a solve to your problems Regards
  • Re: Approach to the data in datagrid

    You can put the following function and replace the values/Name of gridview accordingly. Hope this helps you out. Private Function inspectValueInGrid( ByVal strValue As String ) As Boolean For i As Integer = 0 To GridView1.Rows.Count - 1 'Checking the First Column If strValue = GridView1.Rows(i).Cells(0).ToString.Trim() Then Return True End If 'Checking the Second Column If strValue = GridView1.Rows(i).Cells(0).ToString.Trim() Then Return True End If Next End Function
Page 1 of 23 (224 items) 1 2 3 4 5 Next > ... Last »