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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cookieless sessions?

Status
Not open for further replies.

jemminger

Programmer
Joined
Jun 25, 2001
Messages
3,453
Location
US
hi all,

newbie here:

i want to be able to use cookieless sessions where the sessionid is added to the url...

i've put this on my page:
ini_set("session.use_cookies", "0");

but no go...any help?

thanks,

=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
You probably want to both set session.use_cookies to 0 and session.use_trans_sid to 1.

However, although session.use_cookies can be set using ini_set(), session.use_trans_sid cannot. It must be set in your php.ini or in an Apache per-directory setting.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top