Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How session works (internal processing of session) ?

Answer Posted / pankajbisane

To start a session:
– session_start()
– Creates a session identifier
– Session identifier is passed between client and server
either as
a Cookie, or in GET parameters
• Then, can create, access, and modify session variables:
– $_SESSION[session_var_name] = value;
– $_SESSION is only available once you call session_start()
– $local_variable = $_SESSION[session_var_name];
– Can check if session variable is set by using isset();
• To end a session:
– session_destroy();

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you specify the "new line" character in single-quoted strings?

1010


What is echo in html?

946


What is the Default syntax used in PHP?

1162


Differences between get and post methods?

1084


What is the use of mvc in php?

1032


Explain about getters and setters in php?

1133


What does php mean?

1031


What is namespace and use in php?

1044


Tell us how to create an array of a group of items inside an html form?

1024


/temp is a type of filesystem directory. State Whether True or False?

1063


What is mvc php?

971


How to generate a form?

1262


Why ide is recommended for use while programming with php?

974


What is php explain how php works?

1015


How is it possible to cast types in php?

1018