473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Acc2003: Best way to persist login data for multi-user app?

Hi All,

I'm returning to coding in Access after a break of about 4 years, and
designing a multi-user app split between a front end mdb for forms /
code etc and a backend mdb for tables.

I'm curious about how others persist information such as login IDs etc
while each user is logged in. Previously I've used a hidden form with
text fields on it to keep this information persisted, but I'm wondering
if anyone would suggest other methods?

Many thanks in advance,

Much warmth,

planetthoughtful

---
"Lost in thought"
http://www.planetthoughtful.org

Mar 16 '06 #1
2 1622

"planetthoughtful" <pl**************@gmail.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Hi All,

I'm returning to coding in Access after a break of about 4 years, and
designing a multi-user app split between a front end mdb for forms /
code etc and a backend mdb for tables.

I'm curious about how others persist information such as login IDs etc
while each user is logged in. Previously I've used a hidden form with
text fields on it to keep this information persisted, but I'm wondering
if anyone would suggest other methods?

Many thanks in advance,


What do you have, some sort of home-grown login system? If so then yeah either
a hidden form, a class module, or global variables would all do the job. Those
are listed in the order of volatility. Hidden forms seem to be the method least
likely to lose the data due to a runtime error or other such hiccup.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Mar 16 '06 #2

"Rick Brandt" <ri*********@hotmail.com> wrote
What do you have, some sort of home-grown
login system?


I feel compelled to mention that, if Rick is correct about this, homegrown
login systems are easy for an experienced user to crack, so you shouldn't
count on them to protect much of anything.

Don't count on even Access' "labrynthine*" security to protect anything that
is worth US$150 to someone who wants it -- that's what very capable cracker
software, oops, I mean "password recovery software" sells for over the
Internet. I haven't tried any lately, but a few years back, I tried the
"free trial" version that was limited to 3-character passwords and it worked
just-fine-thankee.

* as characterized by Roger Jennings in his
"Access 2 Developer's Guide" and it hasn't
gotten any less "twisty" since

That said, if all you are trying to do is to keep users from stumbling over
their own fingers, it may be all you need. If that is the case, you might
want to look at http://www.mvps.org/access/api/api0008.htm for code to use
the Windows API to get the user's network login name, so the user does not
have to enter anything... just open the database application and start work.

For "persisting" (it always grates on me to see "persist" used as a verb)
user or system information over a longer period and across logouts and
relogins, I use a combination of tables in the shared tables database and in
the front end databases on each user's machine. Seems to me I put an article
on that subject up on http://accdevel.tripod.com.

Larry Linson
Microsoft Access MVP
Mar 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Rich | last post by:
Hello, I need users to access a data entry asp page via a login page. If they bookmark the data entry asp I want to redirect them to the login page (using IIS). Here is what I had in mind: ...
17
by: Woody Splawn | last post by:
I am finding that time after time I have instances where I need to access information in a variable that is public. At the same time, the books I read say that one should not use public variables...
2
by: David | last post by:
I am creating a control (an image) on the server and Adding it to a Panel's Controls collection. On the client side I want to drag the control to a new location using the ondrag event to modify the...
34
by: Jeff | last post by:
For years I have been using VBA extensively for updating data to tables after processing. By this I mean if I had to do some intensive processing that resulted in data in temp tables, I would have...
4
by: cj | last post by:
I've been trying all week to write a VB.net soap client. I've finally gotten a connection after figuring out I needed to change the name of a ..xml file I was given to .wsdl and add it as a web...
2
by: planetthoughtful | last post by:
Hi All, I'd like to place a subreport onto a report that draws its records from a UNION query. When I design the query and view the records all looks fine. However, when I put the query as...
2
by: damian.jolly | last post by:
Is persisting objects to the SESSION the best way to prevent an object from being created every time a page is refreshed? It's a bit complicated but I'll try to be brief... I am using a guage...
1
by: Rotsey | last post by:
Hi, I have a web site dev with VS2003, .NET 1.1. I am persisting the login with the statement below When I login and then close the browser repoen it works fine. But when I leave the session...
62
by: Tony Ciconte | last post by:
I have a rather complex commercial Acc2003 application (tab controls, 50K+ lines of VBA code, etc.) that will not run well at all on Windows Vista Ultimate. I have seen posts indicating that...
12
by: Jeff | last post by:
I need to read about 100 lines of a csv file into memory. Each line contains 6 fields. What is the best way to store this into memory and then read it back. Is a array of a multi- dimsion...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.