Talking City



Go Back   Talking City > Coding and Programming > PHP Forum
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-02-2017, 03:26 PM
priya.sharma priya.sharma is offline
Member
 
Join Date: Aug 2016
Posts: 99
priya.sharma is on a distinguished road
Default How To Start A Session In PHP?

A PHP session is easily started by making a call to the session_start() function.This function first checks if a session is already started and if none is started then it starts one. It is recommended to put the call to session_start() at the beginning of the page.

Reply With Quote
  #2  
Old 01-12-2017, 05:15 PM
Swati walia Swati walia is offline
Senior Member
 
Join Date: Sep 2016
Posts: 108
Swati walia is on a distinguished road
Default

When you work with an application, you open it, do some changes, and then you close it. This is much like a Session. The computer knows who you are. It knows when you start the application and when you end. But on the internet there is one problem: the web server does not know who you are or what you do, because the HTTP address doesn't maintain state.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +5.5. The time now is 09:57 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Talking City Managed by Megrisoft