php session id in the get method
Moderator: General Moderators
php session id in the get method
why does the session id show among the get method variables? Is there a way to disable this?
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
Try adding this...
Add it to the beginning of each file or if there is an include that is used in every php file add it to the beginning of the file. Might want to make sure it is executed before any output it sent to the browser.
Code: Select all
ini_set ("session.use_trans_sid","0");- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
session variables can be stored in two ways. one way is, they are stored as special cookies and the other way is they are stored as URL variables. In your case, the session variables are stored as URL variables rather than cookies. Read more here