HighDots Forums  

restricting users using time help!!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss restricting users using time help!! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AArdvark
 
Posts: n/a

Default restricting users using time help!! - 07-09-2003 , 01:52 PM






Hi there

i am triny to work out how i can restrict users using time ie they can only
visit my website once an hour

does anyone out there have any suguestions or could you point me in the
right direction

if it helps at all the site will be using ASP 2.0 and VBScript


thanks in advance for any help i receive



Reply With Quote
  #2  
Old   
Paul Taylor
 
Posts: n/a

Default Re: restricting users using time help!! - 07-09-2003 , 05:11 PM






On Wed, 9 Jul 2003 18:52:38 +0100, "AArdvark" <aardvark_ (AT) ntlworld (DOT) com>
wrote:

Quote:
Hi there

i am triny to work out how i can restrict users using time ie they can only
visit my website once an hour

does anyone out there have any suguestions or could you point me in the
right direction

if it helps at all the site will be using ASP 2.0 and VBScript


thanks in advance for any help i receive

Why?

As far as I'm aware, there's no way of doing what you want to do, but
even if I could think of how to do it, why would you want to?


Paul Taylor
http://www.technocurve.co.uk


Reply With Quote
  #3  
Old   
AArdvark
 
Posts: n/a

Default Re: restricting users using time help!! - 07-10-2003 , 04:43 AM



i have seen this done on other websites so i know it can be done

every website is unique and has diffrent requirements mine happens to be
that i want users to be able to access certain areas of the site after an
period of an hour

thanks anyway

"Paul Taylor" <pftaylor (AT) technocurve (DOT) co.uk> wrote

Quote:
On Wed, 9 Jul 2003 18:52:38 +0100, "AArdvark" <aardvark_ (AT) ntlworld (DOT) com
wrote:

Hi there

i am triny to work out how i can restrict users using time ie they can
only
visit my website once an hour

does anyone out there have any suguestions or could you point me in the
right direction

if it helps at all the site will be using ASP 2.0 and VBScript


thanks in advance for any help i receive


Why?

As far as I'm aware, there's no way of doing what you want to do, but
even if I could think of how to do it, why would you want to?


Paul Taylor
http://www.technocurve.co.uk



Reply With Quote
  #4  
Old   
Matthias Gutfeldt
 
Posts: n/a

Default Re: restricting users using time help!! - 07-10-2003 , 05:15 AM



AArdvark wrote:
Quote:
Hi there

i am triny to work out how i can restrict users using time ie they can only
visit my website once an hour

does anyone out there have any suguestions or could you point me in the
right direction

if it helps at all the site will be using ASP 2.0 and VBScript
It's possible with some kind of session management. I can think of two
options right now:

1) Set a cookie with a timestamp for 'last logon', and check that cookie
on each visit. Requires cookies, of course, which are not a terribly
reliable way to manage data (user can manipulate cookies, user might not
be able to receive cookies at all, user may refuse to set cookie and
therefore not be able to visit site at all, etc).

2) Require users to log in with username/password, store time of last
login. Compare current time to time of last login. Doesn't require
cookies, but requires a registration system. Not every user will want to
"register", with all the risks of handing over personal data to a
largely unknown entity.

Whatever system you choose, the site would have to be DAMN GOOD to
justify such a restrictive access policy.


Matthias






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.