Re: [PHP] confused with sessions

2001-06-22 Thread Chris Lee

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
  [EMAIL PROTECTED]




""kaab kaoutar"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] confused with sessions

2001-06-22 Thread kaab kaoutar

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]