Plzzzzzzzzzzzzz help me......databse location

Hello,I have posted twice this prob…nobody is replying me correct answer… plz help me out…

My problem is i have two locations created.I am switching location thru file->mobile->location.

This thing i am using for goping online and offline.

Now wen user is using application offline i want to track this thru lotus script.

Plz suggest any code thru which i can display a user that he is working offline and validation is not possible…

plzzzzzzzzzzzzz help me out…

Subject: Database Location

Is this database loaded on Web or Client or Both?

Subject: RE: Database Location

I am talking about client only…i have local replica of it on which i am working…

Subject: RE: Database Location

If it is local replica, Db.server returns ""Means you are working in your local Machine.

So you can stop validation for the db.server=“”

Subject: RE: Database Location

I tried this…but if i changes location from server to local in both the cases its giving messge…in both the cases it is taking server=“”…dunno y?plz help me out.

Subject: Plzzzzzzzzzzzzz help me…databse location

Actually the problem is…I am taking address books when i am connected to server…if no connection then it is unable to take address books…As set db=session.AddressBooks(1)

if i change location then it is giving error in this line only

its not checking further…