Sessioni PHP

Sessioni PHP

11th Grade

10 Qs

quiz-placeholder

Similar activities

Programming Quiz part 1

Programming Quiz part 1

11th Grade

8 Qs

Profesi Utama di Bidang Informatika

Profesi Utama di Bidang Informatika

10th Grade - University

15 Qs

مسابقة نجـوم التحـدي

مسابقة نجـوم التحـدي

9th - 12th Grade

5 Qs

ICT-Grade 11C,D-Assesment-2

ICT-Grade 11C,D-Assesment-2

11th Grade - University

15 Qs

Quiz PHP

Quiz PHP

9th - 12th Grade

10 Qs

Tutorial Proyek Web PHP MySQL

Tutorial Proyek Web PHP MySQL

11th Grade - University

10 Qs

Network+ 1.3.5 & 1.3.6 Transport and Application Layer

Network+ 1.3.5 & 1.3.6 Transport and Application Layer

11th Grade

11 Qs

EXTENCIONES MATEMATICAS- EXTENCIONES DE SESIONES

EXTENCIONES MATEMATICAS- EXTENCIONES DE SESIONES

11th Grade

5 Qs

Sessioni PHP

Sessioni PHP

Assessment

Quiz

Information Technology (IT)

11th Grade

Medium

Created by

Stefania Uda

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cosa succede se non chiami session_start(); prima di accedere a $_SESSION?

La sessione si avvia comunque, ma con valori vuoti

PHP genera un errore fatale

PHP restituisce un warning e $_SESSION rimane vuoto

Il browser blocca la pagina per motivi di sicurezza

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dove vengono memorizzati i dati della sessione PHP per impostazione predefinita?

Nei cookie del browser

Nel database MySQL

In file temporanei sul server

Nel local storage del browser

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Quali di queste affermazioni sulle sessioni PHP sono corrette?

Ogni sessione ha un identificatore univoco

I dati della sessione possono essere recuperati su più pagine

Le sessioni possono essere memorizzate solo nei cookie

Le sessioni possono scadere dopo un periodo di inattività

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Una sessione PHP termina automaticamente quando l'utente chiude il browser.

Vero

Falso

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Quale funzione PHP viene utilizzata per eliminare tutti i dati di una sessione attiva?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale codice è necessario per mantenere i dati della sessione su tutte le pagine PHP?

session_continue();

session_start();

session_init();

session_enable();

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Cosa succede se chiami session_destroy();

I dati della sessione vengono cancellati

L'ID di sessione cambia immediatamente

La sessione termina, ma il cookie della sessione potrebbe ancora esistere

Il browser mostra un messaggio di avviso

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?