|
Posted by Jonathan N. Little on 03/25/06 16:39
Noozer wrote:
> "Spartanicus" <invalid@invalid.invalid> wrote in message
> news:rb3a22t330rl5f1ag8nla7hjt9oumcobd4@news.spartanicus.utvinternet.ie...
>> "Noozer" <dont.spam@me.here> wrote:
>>
>>> User opens a page. A session starts and they are asked to log in. They
>>> spend
>>> 30 minutes reading the page, then clicks a link. Since they were on the
>>> page
>>> for 20+ minutes their session ended. At that point they are asked to log
>>> in,
>>> and then taken to their chosen page as if never interrupted.
>> Do you have a valid reason to require users to login?
>
> Well.. Right now it's just a curiousity as several of our intranet sites do
> it and others don't. It would be nice if more of these applications would
> let us continue if we ended up sidetracked on something else, but trying to
> justify the changes to management is usually the killer here.
>
> I'm also learning PHP and do some ASP coding and it would be handy to know.
>
>
To answer your question, you need to change the session lifetime so it
does not expire before your user finishes reading a page. Here is the
section you need to reference:
http://www.php.net/manual/en/ref.session.php
PHP: Session Handling Functions - Manual
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|