php-windows Digest 14 Jul 2002 09:07:44 -0000 Issue 1240

Topics (messages 14754 through 14758):

Re: SESSION QUESTION
        14754 by: Johannes Hiemer

Re: ini_set
        14755 by: robert

Properly ending a session
        14756 by: Matt Babineau
        14758 by: Micha

php cookie / session problem
        14757 by: Mickel

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Do you have got session_start(); at the beginning of every Script?

Ciao Johannes

"Kit Kerbel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a bug in php4.2.1 dealing with sessions?  I am using $_SESSION to
> set my session variables and it will not work.  Can anyone offer examples
> that they have used that work?  I am going insane.
>
> Thanx,
> Kit
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>


--- End Message ---
--- Begin Message ---
Thanks for help.
"Real problem solved without ini_set().

Php ini_set works fine for me too.
I didn't understood explantion in manual .. :X

"PHP_INI_SYSTEM - Entry can be set in php.ini or httpd.conf"

So it isn`t possible change extension_dir by runtime.
->So long any extension_dir is set, dl('<absolute_path>') doesn't make
sence. 

thanks
robert

> ini_set() does work, i use it all the time with linux and win2k. :-)
> Could you be more specific, and give an example of something 
> that's not working -- as Colin mentioned, some values are not 
> changeable and there might be other restrictions setup... if 
> you're on a shared server, perhaps the admin. turned off 
> ini_set() for security reasons (although it sounds like 
> you're running this
> locally)


> "Robert" <[EMAIL PROTECTED]> wrote in message 
> news:015a01c22815$2bf5d2b0$1aacfe91> @fatalerror...
> > hello 
> list,
> >
> > ini_set
> > and his alias 
> ini_alter,
> > seems not to work under win 2000 enviroment with php 4.2.1
> >
> > Any suggestions about fixing the problem.
> > Parse the php.ini file with preg_match could be an idea,
> > but ini_set is easy and fast.
> >
> > regards
> > robert
> >
> >
> >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
How can I properly terminate a session? I am working on a login/logout
system and I need to login as a different user for testing so I want to
be able to log myself out. I am using session variables to indicate my
user ID when logged in. Are there any specific methods to use to "log
myself out"?
 
Matt Babineau
MCWD / CCFD
-----------------------------------------
e:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
p: 603.943.4237
w:  <http://www.criticalcode.com/> http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
 
--- End Message ---
--- Begin Message ---
You can use session_destroy(), this will delete the session (even from the
HD).

-micha

Matt Babineau wrote:

> How can I properly terminate a session? I am working on a login/logout
> system and I need to login as a different user for testing so I want to
> be able to log myself out. I am using session variables to indicate my
> user ID when logged in. Are there any specific methods to use to "log
> myself out"?
>
> Matt Babineau
> MCWD / CCFD
> -----------------------------------------
> e:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> p: 603.943.4237
> w:  <http://www.criticalcode.com/> http://www.criticalcode.com
> PO BOX 601
> Manchester, NH 03105
>

--- End Message ---
--- Begin Message ---
i'm pretty new to php and just installed a few scripts...but i think there
is a problem in my php.ini because everytime i try to logon i think the
cookie is never created or something because i always can't log
on.....please could someone help me thank you very much


--- End Message ---

Reply via email to