FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » This is a total php newbie question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: This is a total php newbie question [message #175684 is a reply to message #175682] Wed, 19 October 2011 16:21 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Bill B wrote:
> On 10/18/2011 6:42 PM, sheldonlg wrote:
>> Here is a scenario:
>> 1 - User does this and gets a page with a link to a download which does
>> the download.
>> 2 - He doesn't click the that link on that page until 25 hours later.
>> Note, he has not closed his browser or that page.
>>
>> How are you going to know that more than 24 hours have passed? You need
>> to do something that will be similar to a timed logout.
>>
>> Something to think about.
>
> I do not know the answer to that specific question, but it raises, for
> me, the question of how much extreme testing ought to be done to test
> the limits of code and browser behavior.
>
its simple: you set a cookie and time it to expire.

If they come back with a valid cooklie, they are still 'in a live session'

Pretty sure this is all wrapped up inside the php session structures.


Ye. You can do all that with PHP sessions. All in the manual.

> Is there a generally accepted standard, does it vary by circumstance,
> does anyone have personal practices that have served them well?
>
Sessions.

> Bill B
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Mass Twitter Account Creator (PHP)
Next Topic: declaring private variable in class
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 03:56:34 GMT 2024

Total time taken to generate the page: 0.04444 seconds