Click here to Skip to main content
15,892,809 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Log In Control with Ajax Pin
Not Active11-May-10 1:22
mentorNot Active11-May-10 1:22 
GeneralRe: Log In Control with Ajax Pin
kushMuchaal11-May-10 1:33
kushMuchaal11-May-10 1:33 
GeneralRe: Log In Control with Ajax Pin
Not Active11-May-10 1:37
mentorNot Active11-May-10 1:37 
GeneralRe: Log In Control with Ajax Pin
kushMuchaal11-May-10 1:45
kushMuchaal11-May-10 1:45 
GeneralRe: Log In Control with Ajax Pin
Not Active11-May-10 2:28
mentorNot Active11-May-10 2:28 
AnswerRe: Log In Control with Ajax Pin
saini arun11-May-10 1:46
saini arun11-May-10 1:46 
GeneralRe: Log In Control with Ajax Pin
kushMuchaal11-May-10 1:49
kushMuchaal11-May-10 1:49 
GeneralRe: Log In Control with Ajax Pin
Not Active11-May-10 2:34
mentorNot Active11-May-10 2:34 
string str = "select * from userlogin where userid='" + this.txtuid.Text + "' and password='" + this.txtpassword.Text + "'";


Unvalidated user input placed directly into inline SQL? OMG | :OMG: What's the point of having a login? Have you ever heard of SQL Injection attacks?

Session["password"] = txtpassword.Text;


NEVER, EVER store a password in memory!!

Session["username"] = txtuid.Text;
string sess = Convert.ToString(Session["username"]);
Session["password"] = txtpassword.Text;
string pass = Session["password"].ToString();


This is useless code. Put the text to Session variable then the Session variable to a local variable. WTF | :WTF: You don't even use the local variables.

I know the language. I've read a book. - _Madmatt

Questionhow to display an image from folder when there is no image in database Pin
developerit10-May-10 22:10
developerit10-May-10 22:10 
AnswerRe: how to display an image from folder when there is no image in database Pin
Dinesh Mani10-May-10 23:01
Dinesh Mani10-May-10 23:01 
QuestionHow to Hide A GridView Column in a Visual Web Developer project Pin
grafiksinc10-May-10 21:16
grafiksinc10-May-10 21:16 
AnswerRe: How to Hide A GridView Column in a Visual Web Developer project Pin
Pranay Rana10-May-10 23:04
professionalPranay Rana10-May-10 23:04 
GeneralRe: How to Hide A GridView Column in a Visual Web Developer project Pin
grafiksinc11-May-10 1:21
grafiksinc11-May-10 1:21 
AnswerRe: How to Hide A GridView Column in a Visual Web Developer project Pin
Dinesh Mani10-May-10 23:07
Dinesh Mani10-May-10 23:07 
GeneralRe: How to Hide A GridView Column in a Visual Web Developer project Pin
grafiksinc11-May-10 1:23
grafiksinc11-May-10 1:23 
AnswerRe: How to Hide A GridView Column in a Visual Web Developer project Pin
Dinesh Mani11-May-10 1:59
Dinesh Mani11-May-10 1:59 
AnswerRe: How to Hide A GridView Column in a Visual Web Developer project Pin
HimansuSekharPati12-May-10 2:40
HimansuSekharPati12-May-10 2:40 
AnswerRe: How to Hide A GridView Column in a Visual Web Developer project Pin
grafiksinc16-May-10 13:11
grafiksinc16-May-10 13:11 
Questionopen source Pin
mylogics10-May-10 21:00
professionalmylogics10-May-10 21:00 
AnswerRe: open source Pin
Michel Godfroid10-May-10 22:40
Michel Godfroid10-May-10 22:40 
QuestionPrint in report wizard Pin
4anusha410-May-10 19:34
4anusha410-May-10 19:34 
QuestionWebsite project type to Web application project type NO ONE-CLICK SOLUTION POSSIBLE [modified] Pin
fjparisIII10-May-10 18:12
fjparisIII10-May-10 18:12 
AnswerRe: Website project type to Web application project type Pin
Abhijit Jana10-May-10 18:33
professionalAbhijit Jana10-May-10 18:33 
GeneralRe: Website project type to Web application project type Pin
fjparisIII11-May-10 8:40
fjparisIII11-May-10 8:40 
GeneralRe: Website project type to Web application project type Pin
fjparisIII11-May-10 13:25
fjparisIII11-May-10 13:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.