Hi,
I have this application which pulls up the data related to the search word in the database. But before searching i check the search word against any sql/javascript injections and redirect the user to the home page where the new search could be started if find any injections. So while redirecting to the homepage i send a value(say 1 or 2) and on the homepage i have written a script that compares this value against the stored value. If both are the same then i have to display a msgbox to the user saying "please enter only characters".Initially i tried checking the word and displaying msgbox at server side. But that gave an error "MsgBox Permission Denied". I understand that you can have pop ups at the server side and that is why i redirect the user to the homepage. I this case i tried displayin the msgbox with javascript alert which works fine. But if the user disables javascript on his browser then the alert box wont be produced. so I need a vbscript to do this job. Could any one help me this ? this is quite urgent
I have this application which pulls up the data related to the search word in the database. But before searching i check the search word against any sql/javascript injections and redirect the user to the home page where the new search could be started if find any injections. So while redirecting to the homepage i send a value(say 1 or 2) and on the homepage i have written a script that compares this value against the stored value. If both are the same then i have to display a msgbox to the user saying "please enter only characters".Initially i tried checking the word and displaying msgbox at server side. But that gave an error "MsgBox Permission Denied". I understand that you can have pop ups at the server side and that is why i redirect the user to the homepage. I this case i tried displayin the msgbox with javascript alert which works fine. But if the user disables javascript on his browser then the alert box wont be produced. so I need a vbscript to do this job. Could any one help me this ? this is quite urgent