1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jek_recluse [69]
4 years ago
14

Which of the following that can be use to access session variables in PHP?

Computers and Technology
1 answer:
Neko [114]4 years ago
4 0

Answer:

a. $_SESSION

Explanation:

A session variable in PHP can be accessed using the global variable $_SESSION.

This can be used for both setting and retrieving session values as described subsequently.

$_SESSION["var1"] = "value1";

This set a session variable called 'var1' to a value 'value1'. Later if we want to retrieve this value we can do it as follows:

echo "Value of session variable 'var1' is " . $_SESSION["var1"] ;

This will print the result: Value of session variable 'var1' is value1

You might be interested in
CPT, which is used to code procedures in an office, is an example of a/an
ExtremeBDS [4]
 <span>Current Procedural Terminology

is used for general check up

</span>
3 0
3 years ago
. Suppose an instruction takes 1/2 microsecond to execute (on the average), and a page fault takes 250 microseconds of processor
saul85 [17]

Answer:

a. 100.

b. 31500.

Explanation:

So, we are given the following data which is going to help in solving this particular question.

The time required to execute (on the average) = 1/2 microsecond , a page fault takes of processor time to handle = 250 microseconds and the disk time to read in the page = 10 milliseconds.

Thus, the time taken by the processor to handle the page fault = 250 microseconds / 1000 = 0.25 milliseconds.

The execution time = [ 1/2 microseconds ]/ 1000 = 0.0005 milliseconds.

The number of Pages sent in a second by the disc = 1000/10 milliseconds = 100.

Assuming U = 1.

Hence, the disc transfer time = [2/3 × 1 } + [ 1/3 × 0.25 milliseconds + 15 ] × 2.

=0.667 + 15.083.

= 15.75 millisecond.

Average number of instruction = 15.75/0.0005 = 31500.

8 0
3 years ago
Tl;dr - i need a good application to bypass school firewall
just olya [345]

Answer:

dang. thats tough. i just used nord VPN

Explanation:

6 0
4 years ago
Read 2 more answers
Which ipv6 router message is sent via multicast with a scope of link-local with the expectation that all local routers will iden
Artyom0805 [142]
The Answer is Router <span> Solicitation. </span>
 This is because RS is used to determine which routers are present on a specific sub net by sending a message asking for a router advertisement that provides details about a specific router.
3 0
3 years ago
_____________ was largely responsible for the internet becoming a resource of information and not merely a medium to send and re
MissTica

Answer:

Tim Berners-Lee

Explanation:

In 1989, Tim Berners-Lee invented the World Wide Web, an Internet-based hypermedia initiative for global information sharing while at CERN, the European Particle Physics Laboratory. He wrote the first web client and server in 1990. His specifications of URIs, HTTP and HTML were refined as web technology spread.He is also known as TimBL, is an English engineer and computer scientist. He is a Professorial Fellow of Computer Science at the University of Oxford and a professor at the Massachusetts Institute of Technology.

5 0
4 years ago
Other questions:
  • The process that uses 3D modeling software to create a representation of a three dimensional object is called 3D modeling.
    15·2 answers
  • If you save a Word file as a Web page, what type of file will it be?
    12·1 answer
  • Which of the following has likely attended vocational school?
    10·1 answer
  • You need to write a class called SingleItemBox (in a file called SingleItemBox.java that you create). This class has a construct
    6·1 answer
  • What tab on the Ribbon would you select to create a Photo Album ?
    5·1 answer
  • A horse is how much percent more powerful than a pony
    11·1 answer
  • Identify an advantage of the software as a service (SaaS) approach in public cloud computing. Group of answer choices The user h
    5·1 answer
  • What is the primary purpose of the destination address?
    9·1 answer
  • Large and powerful computer capable of processing and storing large amounts of business data
    5·1 answer
  • How to run angular project from github.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!