How can we know that a session is started or not?

How can we know that a session is started or not?

How can we know that a session is started or not?

View Answers

November 16, 2010 at 11:20 AM

Hi everyone,

The session is started in PHP by using sessionstart() function. The sessionstart() function always stay in the header portion in the PHP page. It will declares first after that we can use session_register() function for register the session for the PHP application.

Thanks









Related Tutorials/Questions & Answers:
How can we know that a session is started or not?
How can we register the variables into a session?
Advertisements
How can we destroy the session, how can we unset the variable of a session?
How can we know the count/number of elements of an array?
How many ways can we get the value of current session id?
How many cookie object we can store in a session? is there any limit?
How can we know the number of days between two given dates using PHP?
ModuleNotFoundError: No module named 'nots'
ModuleNotFoundError: No module named 'noty'
ModuleNotFoundError: No module named 'noty'
ModuleNotFoundError: No module named 'nota'
ModuleNotFoundError: No module named 'nota'
How do we create session factory in hibernate?
ModuleNotFoundError: No module named 'gsea-incontext-notk'
ModuleNotFoundError: No module named 'gsea-incontext-notk'
How can we destroy the cookie?
What is the default session time in php and how can I change it?
how can i make a session invalidate in java when browser is closed
How do I get started with Bootstrap
How do I get started with Bootstrap
How can we repair a MySQL table?
How we can create a table through procedure ?
how can we store the encrypted passwaord in swings?
how we can create website through java
How can we get hibernate statistics?
How can we save a data list in jsf?
How to Get Started with Java?
I want to know how can I create sessionfactory in hibernate 4 (latest version)
How can we solve this puzzle using java ?
How to use session in struts 1.3
Session
How many ways we can give the output to a browser?
How can we encrypt the username and password using PHP?
How can we submit a form without a submit button?
How can we create a database using PHP and mysql?
How can we increase the execution time of a php script?
how can we prevent back option after log out.
what is cloud computing? any how we can implement?
How can we get second of the current time using date function?
how can we pass parameters from jsp href to another servlet
How can we find the number of rows in a result set using PHP?
How To Turn On the Session Support?
Debit Note & Credit Note
How would I learn data science if I started over?
How can we implement Pop-up in JQuery without Plugin?
how to create session for login
How to destory session in PHP
May I know how to create a web page?
Hibernate Session Management
Hibernate : Stateless Session

Ads