Re: Possible Cookie Usage?
- From: Doc O'Leary <droleary.usenet@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 07:28:35 -0500
In article <MPG.2280fcf7ce6f084c9896fb@xxxxxxxxxxxx>,
mrc2323@xxxxxxx (Mike Copeland) wrote:
Yes, that could do the job. However, how does the timestamp/flag getIf this is possible, I don't quite know how to implement it. I
assume it's a simple JavaScript cookie reading activity, but I don't
know how to get that staff person's activity to write the file and where
it'd be stored. Any thoughts? TIA
If I read the problem right, the easiest solution is a simple timestamp.
Give the person in the mail room access to a trivial CGI (could be just
touching a file) that refreshes a master value, and that value is
supplied with the web interface. You can certainly add a JavaScript
cookie to compare the supplied value with the last stored value and add
some fancy notification if there's a change. It is slightly more tricky
if you want to give notification for individual mailboxes, but the basic
approach is the same.
"transmitted" to the Web site interface? That is, I could write a small
application that "touches" a file, but where does such a file reside to
have it accessible by my HTML/Javascript/CSS code that resides on the
server host? How would my code know where that file is, and how does it
interrogate it to find its timestamp?
I have no way of knowing how your corporate intranet functions. You'd
use PHP or Perl or Ruby or whatever else is already in place to handle
the server side processing. If you're not the person in control of
that, you need to talk to the person who is. That is beyond the scope
of JavaScript, though. All that JavaScript can accomplish is to put a
more friendly interface on the web page (or possibly a widget/gadget)
that relays that information to the user.
--
My personal UDP list: 127.0.0.1, 4ax.com, buzzardnews.com, googlegroups.com,
heapnode.com, localhost, ntli.net, teranews.com, vif.com, x-privat.org
.
- References:
- Possible Cookie Usage?
- From: Mike Copeland
- Re: Possible Cookie Usage?
- From: Doc O'Leary
- Re: Possible Cookie Usage?
- From: Mike Copeland
- Possible Cookie Usage?
- Prev by Date: Re: Display 'loading' message when scripts are executed and page is still loading
- Next by Date: line 1 error invalid character
- Previous by thread: Re: Possible Cookie Usage?
- Next by thread: help with debug or suggestions for new library
- Index(es):
Relevant Pages
|