Search This Blog

Email Password Recovery

Email Password Recovery

Password Hacking Tips

Password Hacking Tips

Ethical Password Recovery

Ethical Password Recovery

Hacking Email Password

Hacking Email Password
Showing posts with label Ethical password recovery. Show all posts
Showing posts with label Ethical password recovery. Show all posts

How to: Read a Cookie

Cookies provide a means in Web applications to store user-specific information, such as history or user preferences. A cookie is a small bit of text that accompanies requests and responses as they go between the Web server and client. The cookie contains information that the Web application can read whenever the user visits the site.

The browser is responsible for managing cookies on a user system. Cookies are sent to the server with a page request and are accessible as part of the HttpRequest object, which exposes a Cookies collection. You can read only cookies that have been created by pages in the current domain or path.

Procedure
To read a cookie

  • Read a string from the Cookies collection using the cookie's name as the key.

The following example reads a cookie named UserSettings and then reads the value of the subkey named Font.
Visual Basic

If (Request.Cookies("UserSettings") IsNot Nothing) Then
Dim userSettings As String
If (Request.Cookies("UserSettings")("Font") IsNot Nothing) Then
userSettings = Request.Cookies("UserSettings")("Font")
End If
End If

Code in C#:

if (Request.Cookies["UserSettings"] != null)
{
string userSettings;
if (Request.Cookies["UserSettings"]["Font"] != null)
{ userSettings = Request.Cookies["UserSettings"]["Font"]; }
}


Compiling the Code


This example requires:

  • An ASP.NET Web page.
  • A cookie written previously named UserSettings

Hacking tips and tricks

Hacking tips and tricks,

Here i m giving you nearly 200 hacking tips and tricks by this you can improve your knowledge on hacking methods. These are the best tricks for hacking yahoo, orkut, Gmail, SQL password or for hacking any website or for hacking any computer which you like.
I hope you ll will like it very much, Actually i have compressed those tips and tricks using RAR so that you can save downloading time & save your mb's space ......
If u dont have winrar to extract these tricks click here to visit again for more tips and tricks..Download Tips