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 is $_ env in php?

973


What is a string in r?

916


Which function would you use to insert a record into a database in php?

1029


Is php easier than node?

924


How to check an key is exists in array?

1065


How to return ascii value of character in php?

1139


How to invoke a user function?

961


What is needed to be able to use image function?

980


How to find a substring from a given string in php?

1011


Is not null mysql?

959


How variables are passed through arguments?

929


What is constructors and destructors?

904


Which function would you use to determine the length of a string in php?

1022


What are the differences between session and cookie?

995


How do you check is php not empty?

990