Professional Documents
Culture Documents
Industrial Training: Presentation
Industrial Training: Presentation
PRESENTATION
• <?php
• $txt=“Hello World!”;
• $x=5;
• $y=10.5;
• ?>
GET METHOD:
GET method is used for transfer the data from one page to
next page.
But within the GET method when we transfer the data,
data is show in the URL bar.
In the GET method we can transfer limited amount of
data.
The data transfer speed is fast as compare to POST
method.
POST METHOD:
POST method is also used for transfer the data from one
page to next page.
But within the POST method data is not show in the URL
bar.
In the POST method we can transfer unlimited amount of
data.
The data transfer speed is slow as compare to GET method.
STATE MANAGEMENT:
• To manage the state of stateless pages we use state management technique.
Scope:
• By default cookies are temporary and temporary cookies are stored on the
browser memory.
• We can specify expiry date/time for cookie.
• Initial size of cookie is 50 bytes.
• Maximum size of cookie 4kb/4096bytes.
• Maximum no of cookies per website=20.
QUERY STRING:
• Data concatenate with URL .
• We can store only string data not object.
• Scope of query string is Next page.
• Maximum size of URL is 2086 character.
Drawbacks:
• Size limitation.
• Not secure.
HIDDEN:
• It is similar to Query String.
• In hidden control we can store only string data not object.
• Scope of hidden control is Next Page.
• Performance wise Query String is better than Hidden
Control.
SERVER SIDE STATE MANAGEMENT: