1
Peekay
Can several people log in with the same username?
  • 2005/8/7 15:32

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I know it is possible, but can anyone see a problem with several people logging in with the same username, for example, with username 'demo' and pass 'demo'?

The demo group would be strictly limited to specific content. and PM would be disabled.
A thread is for life. Not just for Christmas.

2
siweb
Re: Can several people log in with the same username?
  • 2005/8/7 19:42

  • siweb

  • Not too shy to talk

  • Posts: 150

  • Since: 2004/5/2 1


Somebody could change the password.

3
Peekay
Re: Can several people log in with the same username?
  • 2005/8/7 20:43

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Doh!!! Many thx siweb. My brain is not in gear today at all.
A thread is for life. Not just for Christmas.

4
JMorris
Re: Can several people log in with the same username?
  • 2005/8/7 23:04

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


If you're just looking to publish a demo site, you may want to look at Opensourcecms.com. They use a script that resets the database every hour. Maybe you could contact the webmaster there and find out how they did it.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
jdseymour
Re: Can several people log in with the same username?

What you would need to do is restore the database at set intervals, (as bluenova does on his module site).

Here is an article about the script bluenova uses. It is a MySQL script and can be run and scheduled from cron:

MySQL Database Restore

HTH.

6
Peekay
Re: Can several people log in with the same username?
  • 2005/8/8 11:20

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thx for the suggestions. I have jdseymour's cron script to reset the DB (very useful) - unfortunately, it turns out I need a significant upgrade with my hosting company to get cron.

I have actually downloaded 'pseudo-cron' which sounds interesting but I have no idea if it works yet.

www.bitfolge.de/pseudocron

I really wanted to provide selective access - i.e. only allow access to those people I emailed the username and password to. I'll probably just set up some temporary accounts.
A thread is for life. Not just for Christmas.

Login

Who's Online

244 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits