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
What do you mean range() in php?
Tell me what type of operation is needed when passing values through a form or an url?
How many types of array supported in php?
What are the string functions in php?
Why post method is used in php?
What is htaccess in php?
What types of Data Can Be Used as Array Keys?
How to get the ip address of the client?
When are you supposed to use endif to end the conditional statement?
Explain what does the expression exception::__tostring means?
How to enable error reporting in php?
Which function will you use to create an array?
What is advanced php programming?
How to remove html tags from data in php?
Which php framework is fastest?