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...

Does not want to see PHPSESSID in the url. How can be done
this ?

Answer Posted / prantik gautam

1) Make the form method from 'get' to 'post'

2) If the form method is 'get' then keep the session id in
an extra session variable and call ob_start() for buffering.

eg :

ob_start();
session_start();
$sid=session_id(); //for different sesion id for each session
$_SESSION['sid']=$sid;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do I need apache for php?

1084


How is the ternary conditional operator used in php?

1005


What is local variable in php?

984


What u mean by query?

1041


Explain preg_Match and preg_replace?

987


What is the use of isset() in php?

1039


How cookies are trported from browsers to servers?

1022


What is new static in php?

992


Is php faster than javascript?

943


How arrays are used in php?

1053


What is difference between static and constant?

1022


How to get a total number of elements used in the array?

994


Tell me how is it possible to remove escape characters from a string?

953


What is the difference between nowdoc and heredoc?

987


What is the difference between get & post ?

1100