473,806 Members | 2,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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,

planetthoughtfu l

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

Mar 16 '06 #1
2 1643

"planetthoughtf ul" <pl************ **@gmail.com> wrote in message
news:11******** **************@ z34g2000cwc.goo glegroups.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*********@ho tmail.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' "labrynthin e*" 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
5703
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: <%@ LANGUAGE=JScript %> <HTML> <HEAD>
17
5538
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 too much - that it's bad programming practice. Is there an easy way to deal with this? I would like to do things in the "Best Practices" way but at the same time I don't want to make a federal case out of it. This comes up over and over...
2
1176
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 style.top and style.left. On ondragend the form is submitted. The first problem I am having is that after the form is submitted the image is gone. This problem can be solved by having the server sent the image to the client using the Panel's...
34
10856
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 VBA code that wrote the results of that away to the db, either creating new records or updating existing records, whichever was relevant. This may also include deleting records. Now I generally do this by opening a recordset on the source data...
4
1509
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 reference in my Windows app. When I click button2 to logout I get an error message and the folks at the company I'm connecting to say I need to set my session to persist. They can not tell me how to do this as they are non-MS Java developers. ...
2
1954
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 the subreport's data source and open it, Access complains that Jet can't find the table, and then when I open up the query itself to look at the SQL, it appears all mangled.
2
1493
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 from Fusion Charts Instrumentation Suite to show the speed of machinary in a factory. The guage updates every 5 seconds. The guage update does not cause a refresh of the page that it is on, however it allows the definition of a DataStreamUrl and...
1
1514
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 to timeout it wants me to login again. Anyone no why????
62
5079
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 Acc2003 MDBs should work on Vista. However, our particular file has too many problems to be viable on a Vista platform. Even converting it to an Acc2007 accdb file has no positive effect. I realize that Vista is new and should be avoided like the...
12
1586
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 array the way to do this. If so I can read the data into an array using an arraylist for each line and the fields in a string array but cannot see how I can get the data
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10364
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4328
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3849
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.