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

What do you mean range() in php?

1030


Tell me what type of operation is needed when passing values through a form or an url?

900


How many types of array supported in php?

922


What are the string functions in php?

913


Why post method is used in php?

1057


What is htaccess in php?

1163


What types of Data Can Be Used as Array Keys?

977


How to get the ip address of the client?

9122


When are you supposed to use endif to end the conditional statement?

888


Explain what does the expression exception::__tostring means?

817


How to enable error reporting in php?

995


Which function will you use to create an array?

918


What is advanced php programming?

969


How to remove html tags from data in php?

966


Which php framework is fastest?

930