Web Development Chapter 9

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Value, expires, path, domain, secure

5 optional arguments

Required name argument

You can create a cookie by passing the function a ______ ______ _______ and 5 optional arguments

sess_

Staring a session creates a text file on the web server that has the same name as the session ID, preceded by

session_destroy

delete the session

<input>

element that creates hidden fields

FALSE

if any output exists before you call the setcookie () function, you will recieve an error and the function returns a value of

State Information

information about individual visits to a website

hidden form field

not displayed by the web browser, so it allows you to hide information from users

query string

preserves information following a user's visit to a web page. A set of name/value pairs appended to a target URL. These are not permanent.

persistent cookies

remain available beyond the current browser session and are stored in a text file on a client coomputer

temporary cookies

remain available only for the current browser session

session_id

retrieve the session ID for the current session

Ampersands

separate individual name/pairs

cookies

small pieces of information about the user that are stored by a web server

session_start

starts a new session or continues an existing one. Generates a new session ID.

maintain state

store persistent data about a website visit, using hidden form fields, query strings, cookies, and sessions

$_SESSION

store session state information

stateless

the web browsers stored no data about pages viewed on previous visits to a website

0

to omit expires and secure specify ___ as argument value

Persistent and Temporary

types of cookies

$_GET and $_POST

When you submit a form to PHP script, you can access the values submitted from the form by using _____ and _____ autoglobals

session

a period of activity when a PHP script stores sate information. Only available for that current browser session.

Question Mark

add immediately after the URL followed by the query string that contains the information you want to preserve om name/value. In this you are passing info to another webpage.

persistent cookies

automatically deleted when the time assigned to the setcookie() function expires

query string

can be used to pass information such as search criteria from one webpage to another

temporary cookies

cookies that automatically cease to exist when the current browser session ends

setcookie

create cookies in PHP


संबंधित स्टडी सेट्स

Chapter 4: Costing and Pricing for Transportation

View Set

Real Estate License Exam - Level 6: Law of Agency

View Set

MKTG 3335 Quiz Chapter 8 3e Visual Storytelling

View Set

Real Estate Finance: Module 3 (Chapter 5: Government Financing)

View Set

Chapter 41: Assessment of the Nervous System

View Set