Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php.ini setting for session variables? 1

Status
Not open for further replies.

jisoo23

Programmer
Joined
Jan 27, 2004
Messages
192
Location
US
Hello all,

Apparently there is a setting in the php.ini that will allow automatic attaching of a session variable to hyperlinks on a PHP page. Meaning if I put a couple links to other pages within a website, the session variable would automatically be attached to the end of the link so that a user could easily navigate through a site with personal settings intact after login. Does anyone know what setting this is? Also, is this setting any different for PHP5?

Thanks,
Jisoo23
 
These settings will do it:

session.use_only_cookies = 0
session.use_trans_sid = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="



As of PHP-5.0RC2, the same settings should work.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top