Immediately after setting up and running the program, I discovered that there was NO option to actually "log off" or "log out" of the program when the user completes whatever tasks he/she so desires. I have attached images of the "html options" page, the "login" screen (IP address obliterated), and the "user" screen.

The only options available to the user are as follows (see image 9-13-2008 9-07-54 AM):

"Back"
"Home"
"Upload"

I would like to add a "Log Off" or "Log Out" option so that the user could click a link to log out, instead of just closing the web page itself. Closing the web page itself does not "log out" the user.

Is there anyone on this forum that could assist me with adding the proper code to make a "log off/out" link? Is it even possible?

Can someone recommend a good beginner's book on JavaScript? I don't really understand that much about JavaScript, so I'll definitely need a book geared to the absolute beginner.

Any assistance with this would be much appreciated.

Thanks!

Joseph Y.

Philip M

09-16-2008, 08:24 AM

Can someone recommend a good beginner's book on JavaScript? I don't really understand that much about JavaScript, so I'll definitely need a book geared to the absolute beginner.

http://www.codingforums.com/showthread.php?t=147902

Mikebert4

09-16-2008, 08:56 AM

Ok, this is quite simple actually.

The password box that pops up is for a protected folder on a server, anyone who wants to access (view/edit/upload) anything within the folder must have the password. 'Logging out' is simply the action of navigating away from that folder.

hence, a good 'logout' script would be somthing as simple as:

<a href="'http://www.google.co.uk">Logout (google)</a>

I'm sure one of the big boys around here will either confirm this or present other options fairly quickly :)