[PHP-WIN] Re: Time out a session

2003-11-26 Thread Jarl E. Gjessing
Would session.cookie_lifetime not do the trick? I found it here: http://www.php.net/manual/en/ref.session.php Petcol wrote: > PHP Newbie here. > > Is there a way to time out a session? Say after like 30 minutes. > > I want to set a session.variable after a user has been authenticated, then > I

[PHP-WIN] Re: Error opening files sent via PHP script with IE on XP

2003-11-25 Thread Jarl E. Gjessing
Never mind I found a sollution. I'm using sessions and thereby sending header("Cache-control: private"); Fixed the problem! Jarl E. Gjessing wrote: > I have made a website where registered users can download > documents from a protected area. > Only problem is, that us

[PHP-WIN] Error opening files sent via PHP script with IE on XP

2003-11-25 Thread Jarl E. Gjessing
I have made a website where registered users can download documents from a protected area. Only problem is, that users using windows XP and internet explorer cannot use the Open, when they klik the link. I have tried various browsers under Linux and Windows 2000, they dont have any problems. I pass