是不是可以自动化访问时间? [英] poissble to automate access time?

查看:85
本文介绍了是不是可以自动化访问时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


是否可以自动化文件夹允许的访问时间?我是

使用.htpasswd等,并希望0.5小时访问

用户,以便他们可以在网站上提供样本文件...


干杯


Geoff

解决方案

2004年1月29日星期四09:24:06 GMT,

Geoff Cox< ge ******* @ dontspamblueyonder.co.uk>写道:

是否可以自动化文件夹允许的访问时间?我正在使用.htpasswd等,并希望用0.5小时的时间访问
用户,以便他们可以在网站上提供样本文件......



不正常。你需要提出一些非标准的解决方案

(比如你服务器上经过深思熟虑的脚本),因为HTTP

没有任何注销用户的方式。你真的不会有某种方式阻止用户重新登录。


跟踪用户的常用方法是玩cookie。例如您可能会发送一个,在他们浏览网站时继续检查它,然后决定

在它老化了一定数量后对它们进行不同的处理。


当然,如果他们不接受饼干,那就不行了。

拒绝让人进来,因为他们拒绝你的饼干只是意味着<你要惹恼别人的是



-

我的来自地址完全是假的。回复地址是真实的,但

可能只是暂时的。回复usenet发布在同一个地方

你读到你回复的消息。


此消息是在没有病毒的情况下发送的,请删除一些文件自己。


Geoff Cox< ge ******* @ dontspamblueyonder.co.uk>写在

新闻:h0 ******************************** @ 4ax.com:

你好

是否可以自动化文件夹允许的访问时间?我正在使用.htpasswd等,并希望用0.5小时的时间访问
用户,以便他们可以在网站上提供样本文件......



使用服务器端工具。例如,使用PHP和会话。


-

Dave Patton

加拿大协调员,学位合流项目
http://www.confluence.org/

我的网站: http://members.shaw.ca/davepatton/




" Tim" < Ti*@mail.localhost>在消息中写道

新闻:呃******************************** @ 4ax.com ...

2004年1月29日星期四09:24:06 GMT,
Geoff Cox< ge ******* @ dontspamblueyonder.co.uk>写道:

是否可以自动化文件夹允许的访问时间?我正在使用.htpasswd等,并希望用0.5小时的时间访问
用户,以便他们可以在网站上提供样本文件......


不正常。你需要提出一些非标准的解决方案(例如你服务器上经过深思熟虑的一些脚本),因为HTTP没有办法注销用户。你真的不会有某种方法阻止用户重新登录。

跟踪用户的常用方法是玩cookie。例如您可以发送一个,在仔细阅读它们时继续检查它,然后在它老化了一定数量之后决定以不同方式对待它们。

当然,如果他们不接受饼干就不会工作,并且拒绝让人进来,因为他们拒绝你的饼干只是意味着你会惹恼别人。




有些人对任何使用*任何*的条件感到恼火*

等于永久,免费和无限制访问以外的其他内容。

那真是太难了。我是否理解这里的差异不仅仅是获得用户同意一系列条件的问题,而是获得

他更改设置在他的浏览器中,他喜欢拥有良好的

原因。就我个人而言,我的工作是提示我。在IE浏览器模式中持续使用

cookies,这会导致很多烦恼,但最后我会告诉

DoubleClick下地狱,同时让亚马逊认出我当我返回

时,无需再次查找我的用户名密码。如果我想

试试这个人的网站,这就是他的使用条件,那么如果我是

我会点击当然,继续,接受它。


但是,我认为任何想要留下持久性cookie的网站

应该提前解释为什么,并且应该让我知道他们正在存储的信息是什么(我可以验证)以及他们如何计划使用它。

计划使用它。


Hello

Is it possibel to automate the access time allowed to a folder? I am
using .htpasswd etc and would like to give say 0.5 hour access to
users so that they can sample documents available on the web site...

Cheers

Geoff

解决方案

On Thu, 29 Jan 2004 09:24:06 GMT,
Geoff Cox <ge*******@dontspamblueyonder.co.uk> wrote:

Is it possible to automate the access time allowed to a folder? I am
using .htpasswd etc and would like to give say 0.5 hour access to
users so that they can sample documents available on the web site...



Not normally. You''d need to come up with some non-standard solution
(such as some well thought out scripting on your server), as HTTP
doesn''t have any way of logging off users. You really wouldn''t have
some way of preventing users from logging back on again.

The usual way of tracking users is to play with cookies. e.g. You might
send one, keep checking on it as they peruse they site, then decide
after it''s aged a certain amount to treat them differently.

Of course, this won''t work if they won''t accept the cookies, and
refusing to let people in because they refuse your cookies just means
that you''re going to annoy people.

--
My "from" address is totally fake. The reply-to address is real, but
may be only temporary. Reply to usenet postings in the same place as
you read the message you''re replying to.

This message was sent without a virus, please delete some files yourself.


Geoff Cox <ge*******@dontspamblueyonder.co.uk> wrote in
news:h0********************************@4ax.com:

Hello

Is it possibel to automate the access time allowed to a folder? I am
using .htpasswd etc and would like to give say 0.5 hour access to
users so that they can sample documents available on the web site...



Use server-side tools. For example, use PHP and sessions.

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/



"Tim" <Ti*@mail.localhost> wrote in message
news:uh********************************@4ax.com...

On Thu, 29 Jan 2004 09:24:06 GMT,
Geoff Cox <ge*******@dontspamblueyonder.co.uk> wrote:

Is it possible to automate the access time allowed to a folder? I am
using .htpasswd etc and would like to give say 0.5 hour access to
users so that they can sample documents available on the web site...



Not normally. You''d need to come up with some non-standard solution
(such as some well thought out scripting on your server), as HTTP
doesn''t have any way of logging off users. You really wouldn''t have
some way of preventing users from logging back on again.

The usual way of tracking users is to play with cookies. e.g. You might
send one, keep checking on it as they peruse they site, then decide
after it''s aged a certain amount to treat them differently.

Of course, this won''t work if they won''t accept the cookies, and
refusing to let people in because they refuse your cookies just means
that you''re going to annoy people.



Some people are annoyed by *any* conditions of use of *anything* that
amounts to something other than permanent, free, and unlimited access.
That''s just tough. do I understand that the difference here is not just a
matter of getting a user''s agreement to a set of conditions, but of getting
him to change a setting in his browser that he likes having for good
reasons. Personally, I operate in "prompt me" mode in IE for persistent
cookies, which results in a lot of annoyance, but in the end I get to tell
DoubleClick to go to hell, while letting Amazon recognize me when I return
without having to look up my user name password again. And if I wanted to
try this person''s site, and this was his condition of use, then if I was
sufficiently interested I''d click "Sure, go ahead, take it."

However, I think that any site that wants to leave a persistent cookie
should explain in advance why, and should let me know just what the
information is that they''re storing (which I can then verify) and how they
plan to use it.


这篇关于是不是可以自动化访问时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆