RE: SV: [PHP] Quickie

2002-09-30 Thread John W. Holmes
> Another thing - the first time the page is loaded every link on the page > gets a '?PHPSESSID=...etc...' attached to itself. But only the first time. > It dissapears after the first click i make. Do you have a session_start() on the page? It looks like you have a trans_sid enabled. PHP will add

Re: SV: [PHP] Quickie

2002-09-30 Thread Marek Kilimajer
Your session variable overwrites the get variable, use $newlang session_start(); session_register("lang"); if(isset($newlang) $lang=$newlang; // check here for valid values if (!isset($lang)) { $lang = 'se'; } Daniel Alsén wrote: >John W. Holmes propably said: > > > >>Is register globals on