rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Wint69 on June 27, 2008, 08:32:53 PM

Title: Logout
Post by: Wint69 on June 27, 2008, 08:32:53 PM
Maybe imposible create logout command line ?
Title: Re: Logout
Post by: MarkV on June 27, 2008, 09:21:19 PM
Not possible. Search the forums.
Title: Re: Logout
Post by: Wint69 on June 27, 2008, 10:15:52 PM
How do, as users can delete he uploaded files ?
Title: Re: Logout
Post by: TSG on June 28, 2008, 04:24:47 AM
Also not possible.
Title: Re: Logout
Post by: rejetto on June 28, 2008, 03:35:25 PM
this reply is only for template makers or macro language programmers:
about deleting, i can image a system where (through macros) every upload is logged in a file, as a table FILENAME = USERNAME
and by loading this file you can determine if the current user can delete a file, and offer the command (indeed, there's a macro to delete file).
Title: Re: Logout
Post by: skyrid on July 09, 2008, 07:21:29 PM
rejetto, is there any reason you havent added these 2 features to HFS? Or are they already on the cards for future versions?

I could imagine why deletion might be hard due to file owner permissions, but surely log out would be fairly easy? HFS missing those 2 features has me considering moving to a PHP based site using apache as they would be very helpful for what i would like to do.
Title: Re: Logout
Post by: Foggy on July 10, 2008, 03:05:49 AM
rejetto, is there any reason you havent added these 2 features to HFS? Or are they already on the cards for future versions?

I believe the logout would actually be the harder one to do because http authentication doesnt support a logout option and so hfs would need some serious work so that it uses cookies instead.

Deletion should be very easy to create from what rejetto posted in his previous post.
Title: Re: Logout
Post by: maverick on July 10, 2008, 09:20:15 AM
Correct.  Http doesn't support logout.  You would have to close your browser to effect a logout.
Title: Re: Logout
Post by: rejetto on July 10, 2008, 10:20:10 AM
rejetto, is there any reason you havent added these 2 features to HFS? Or are they already on the cards for future versions?

they are planned for the future.
the main problem is the little time i can spend on the project, but we keep going on.