Web Application Concepts

Web Application Concepts-website


Session management, security considerations and
 authentication, and usability form the base of every
 Web application. Web applications aren't possible
 without proper session management. You have to
 find a way to recognize users during multiple page
 requests if you want to associate variables like a
shopping cart with one specific user. And this
 identification had better be secure if you don't want
 to have one user seeing another's credit card information.



 Indeed, special considerations are necessary for improving
 security in your applications. Even if PHP is less prone to
 crackers' attacks than other CGI environments, it's easy
 to write totally exposed applications.

You lose control over the data—as long as the user doesn't return to your site, you can't access the data. And worse, that data may be manipulated when you get it back. Ninety percent of all Web site defacing and breakings come from applications accepting tampered data from the client side and trusting that data. Do not keep data on the client. Do not trust data from the client.

If you use GET/POST, the storage isn't persistent across sessions.

If you rely exclusively on cookies, you have a problem because some users won't accept cookies—they simply disable cookies in their browsers.

The data is hard to maintain because you need to save all data on every page. Each variable needs to be URL-encoded, added to a form as a hidden field or added to the URL, or saved as a cookie. This is difficult for a single variable such as the session ID, let alone dozens of variables!

Thus, the data needs to be stored on the server. Where exactly you store it isn't all that important; it can be in a relational database management system (RDBMS), plaintext file, dBASE file, etc. Because a Web application generally already uses a relational database such as MySQL, this should be the preferred storage medium.

To associate the data with a user, you need a session identity number— a key that ties the user to his data.
Related Posts:
  • Website Designing Promotion com for adsense Website Designing Promotion & SEO Services SORRY! If you are the owner of this website, please contact your hosting provider: webmaster@websitedesigningpromotion.com. It is possible you have reach… Read More
  • Makes a Web server fast-for website businesses A Web server is usually rated by the number ofconnections— brief communication sessionsbetween two machines — that it can handle ina given period of time. The number of connections that the server handles depends on howqu… Read More
  • Google Translate Google Translate is a free, multilingual statistical machine-translation service provided by Google Inc. to translate written text from one language into another.Free Translation for Spanish, French, English, Ger… Read More
  • Php-Configuration Control Through .htaccess The .htaccessfile is very powerful and can control more than just URL structure. For instance, you can control PHP configuration options using the .htaccessfile. To increase the memory allotted to PHP use this command: php_v… Read More
  • Why Flickr forward-tools As a visitor to Flickr, you can have an awful lot of fun. You can search through photos in a bunch of different  ways, from the sensible to the quirky. But you get the most out of Flickr by using it to store and show o… Read More
  • Publishing Your Web Pages-AdSense-how-to Your approach to creating Web pages for a small Web site should be similar to your approach to creating a single Web home page. Each page should stand alone as a worthwhile place for your Web visitors to spend time, learn so… Read More
  • AdSense for Video AdSense for Video AdSense for Video is the newest addition  to the video family for AdSense. So new, in fact, that it’s still in beta testing,  and is only available to a certain number of participants. To be se… Read More
  • How creating Your Web Pages It’s typical, when designing a Web site, to use a top-down approach and to start by thinking a lot about navigation, organization,  navigation, and so on. Your approach to creating Web pages  for a small Web site … Read More
  • How ta Starting a Blog-Make Your Blog Work For You Making money and driving traffic to your blog To begin, you will create a new Blogger blog; review and navigate the Dashboard;  and learn how to create, edit, delete, and schedule posts. Posts are the substance of a bl… Read More
  • How to make a website with traffic How to make a website with traffic 1. Keep it Simple - Make sure the design is simple, clear and pleasing to the eyes. Don't overcrowd it. 2. Multiple Pages - If possible, divide the website into several pages and access … Read More
  • Automating Functions with cron Jobs Automating Functions with cron Jobs Think of cronas being short for chronology, and it will help you see that it is for jobs that are performed automatically on a fixed time  schedule by theserver’s internal clock. &nb… Read More
  • top 10 Free website tools Web Site Tools for Windows The most downloaded Web Site Tools software, including Website  Realizer, Arclab Web Form Builder, and Sitoo Web. Developer Tools Come to CNET Download.com for free and sa… Read More
  • WEB DESIGN AND MARKETING-FOR BUSINESS WEBSITES WEB DESIGN FOR BUSINESS WEBSITES At a minimum, users should see a thumbnail of the product. This does not have to be elaborate.  To avoid forcing users to squint, make sure that  the image is at least 150 pixels w… Read More
  • Online creating graphics tools-offer images and image conversions Web tools-offer images and image conversions Great! But how do you create them and get them in the right  format GIF or JPEG? Fortunately, creating the graphics you want, or finding some to use, is pretty easy. The e… Read More
  • Building a Marketing-Effective Web Site Building a Marketing-Effective Web Site presentation of information affects emotional  response and thus influencesbuying decisions.  Designers ask about your target audiences to be sure to select or create appr… Read More