Hi we can prevent the pages ability to go back by using java script. Suppose From Default.aspx page we go to Default2.aspx and we dont want to go to default.aspx from default2.aspx. for this we can place make place javascript on default.aspx.
Monday, August 2, 2010
Saturday, July 31, 2010
ViewState and Hacking ViewState Data In ASP.NET Beware!!!!!!!!
Asp.net View State help us to retrieve data after Postbacks. But remember this data is generally not safe as it is simply serialized and stored in the rendered HTML.
Suppose this is the Server Code
Suppose this is the Server Code
Wednesday, July 28, 2010
URL Mapping in ASP.NET
In an ideal world, we'd design our Web applications perfectly the first time. Pages would be created in the proper folder and stay there. For that matter, end users would never care about the URLs of the pages in our Web applications, so we could put pages anywhere we wanted without worrying about it.
Get Number of mysql connections if Connection are not cached
string Qry=" FLUSH STATUS ;SHOW GLOBAL STATUS LIKE '%Max_used_connections%' ";
MysqlDataAdapter ad =new MysqlDataAdapter(Qry);
so fill that to dataset and u will get that.
If connection is cached u need to do work on thread cache and work on that.
MysqlDataAdapter ad =new MysqlDataAdapter(Qry);
so fill that to dataset and u will get that.
If connection is cached u need to do work on thread cache and work on that.
Send Email in Asp.net .. System.Web.Mail
We can easily sent emails from asp.net using Mail Message which comes under name-space System.Web.Mail.
The Code is as Follows...
The Code is as Follows...
Monday, July 26, 2010
C# code Protection Using .NET REACTOR
The assembly (.exe, .dll) etc we build using .Net Framework can be decombiled using visual studio command Promt. ildasm is the commad that we can use to open an assembly as Resource hacker is doing.
C:\Program Files\Microsoft Visual Studio 9.0\VC>ildasm
C:\Program Files\Microsoft Visual Studio 9.0\VC>ildasm
Saturday, July 24, 2010
Xml Creation and Reading that to DataSet
Creating XML and Reading that is very important when we come to Web-service, Serialization etc
Here i just give the basics of creating and reading xml.
Here i just give the basics of creating and reading xml.
Subscribe to:
Posts (Atom)