Have you considered using a hidden frame.  This hidden frame could
automatically reload every so often check for time frame of session
variable.  If it is about to expire then the hidden frame could redirect the
main frame to an alert page (or popup a new window or create a js alert
window).

Chris Sham


----- Original Message -----
From: "DeVoil, Nick" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 9:50 AM
Subject: RE: Push alert page to browser?


> Yes, but HTTP works on request-response pairs, so how can the server
> send anything to the browser unless the browser requests it?
>
> If there *is* a way I'd be very interested to know it.
>
> I don't think it makes any difference whether you're using CF, JSP
> or whatever on the server - you've still got HTTP as the protocol
> in the middle.
>
> Nick
>
>
> -----Original Message-----
> From: Chris Norloff [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 2:37 PM
> To: CF-Talk
> Subject: RE: Push alert page to browser?
>
>
> ha ha!  Well said.  Specifically, the client wants to minimize required
> client-side functions that aren't in all browsers, and especially
functions
> that can be turned off (like javascript).
>
> So, yes, the alert page does need to be visible to the client (unless we
> have his phone number, I guess  :-)  but the timer should be server-side.
>
> thanks,
> Chris Norloff
>
> ---------- Original Message ----------------------------------
> From: "Philip Arnold - ASP" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 26 Jan 2001 16:34:05 -0000
>
> >> We have a need to alert a user if he's near the end of his 15
> >> min. session variable expiration.  Unfortunately, they don't want
> >> anything client-side [grumble, grumble ...]
> >>
> >> So - anybody know how to use CF, or maybe JSP or PHP to push an
> >> alert window to a user when the session variables are near to expiring?
> >
> >Sorry, but if it's not client side, then how do they see the warning? <g>
> >Isn't a push-page or an alert window client side?
> >
> >Philip Arnold
> >Director
> >Certified ColdFusion Developer
> >ASP Multimedia Limited
> >T: +44 (0)20 8680 1133
> >
> >"Websites for the real world"
> >
> >**********************************************************************
> >This email and any files transmitted with it are confidential and
> >intended solely for the use of the individual or entity to whom they
> >are addressed. If you have received this email in error please notify
> >the system manager.
> >**********************************************************************
> >
> >
>
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to