with javascript...

( on the first page the user receives after login... )

try something like

if (parent.frame["framename"].location=notyetloggedin.html)
    parent.frame["framename"].location=nowtheuserisloggedin.jsp);

Johan
----- Original Message -----
From: "Jeremy C" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Sunday, May 13, 2001 11:47 PM
Subject: RE: How to tell when a user first log's in?


> Peter,
>
> Thanks, however I do have 1 more question for you. I do have the top frame
> saying request.getRemoteUser, but how do I automatically cause that frame
> to get refreshed when a user first log's in? On logout, I can do that
> because it accesses logout.jsp (just issue a JavaScript Refresh command.)
>
> Thanks!
>
> Jeremy - [EMAIL PROTECTED]
>
>
> At 10:23 AM 5/12/2001 -0600, you wrote:
> >Ad 1)   <%=request.getRemoteUser()%> (obviously you'll have  to reload
the top
> >frame)
> >Ad 2)   You will need to subclass DataSourceUerManager and add that
> >functionality
> >         It would be possible to add that functionality on a page that
the
> > logged-in
> >         User is guaranteeed to go to, bad that would be bad design
> >
> >         --peter
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy C
> >Sent: Saturday, May 12, 2001 7:44 PM
> >To: Orion-Interest
> >Subject: How to tell when a user first log's in?
> >
> >Is it possible to attach a hook, or some means of detemining when a user
> >first log's in? I use DataSourceUserManager...
> >
> >What I would like to do is two things,
> >
> >1. In my top frame, indicate who you are logged in as
> >2. Check the last time you have changed your password, and prompt for a
> >password change if it's past 3 months.
> >
> >Thanks!
> >
> >Jeremy - [EMAIL PROTECTED]
>


Reply via email to