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

Is python similar to php?

974


What is use of echo in php?

873


How do I stop php artisan serve in windows?

912


What should we do to be able to export data into an excel file?

965


What does the scope of variables mean?

895


what is PDO?

1203


What is session in php w3schools?

1030


What is php beginner?

921


How are cookies created?

923


How to remove values saved in the current session?

971


What is the difference between runtime exception and compile time exception?

1028


What is the actually used php version?

1022


What is a query in php?

869


How to write php function in html onclick?

896


Is salary a ratio or interval?

958