Re: confused with sessions

From: Date: Fri, 22 Jun 2001 14:37:01 +0000
Subject: Re: confused with sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54881@lists.php.net to get a copy of this message
trans_sid is only enabled when cookies are not supported. php.ini has session.use_cookies = 0; this will disable cookies and force trans-sid. you should also verify trans-sid with phpinfo(), make sure it really did get compiled in. trans-sid will only re-write urls that are not full urls. ie. index.php is ok http://www.e-tankless.com/index.php is not. you will have to re-write it yourself. if cookies are disabled and the phpsessid is not in the url then php has absolutly no way of knowing its the same customer, therfore it creates a new phpsessid. -- Chris Lee lee@mediawaveonline.com ""kaab kaoutar"" <kaab_k@hotmail.com> wrote in message news:F551vdkmyCF1Hkikieq00013d41@hotmail.com... > Hi! > I'm confused with these sessions :( > well here is what i want to do! > I have a web site whos pages are all composed of frames(4)! > and in the top frame i have the loggin button! > i want , once the user logged, the fees that are in pages (frames) become > visible and once logged out, the fees likns disappear... > i have atable that in mysql dbs that stores users login! > enable_transit_id is enabled in php! the os is unix and wS is apache! > > Any ideas? > What i've done so far is to start sessions in each page register the logged > boolean once logged and destroy it once logged out! > also i had to phpsessid to each url in frames otherwise it does not work! i > also added the session_name but if i don't add phpsessid to urls it creates > new sessions each time ! > i don't want to use cookies, they are enabled ! maybe that's why > session_name does not work ? > > Please help me ! > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#54881) next »