Can someone help me on how to get a server value into a javascript
function?
--- In [EMAIL PROTECTED], "Arnnie Martinez"
<[EMAIL PROTECTED]> wrote:
> I have an idea. On the onload function of the page I need to test
> the session timout. Such as:
> If Session.timeout < SessionTime then
> response.redirect to timeoutpage
> end if
> However, I do not how to get the value from the Session.timeout.
Can
> someone help me on this?
>
> Can I use this code <%Session.timeout%> where the variable
> Session.timeout?
>
>
>
>
> --- In [EMAIL PROTECTED], "John Vieth"
> <[EMAIL PROTECTED]> wrote:
> > Just name the back button. I name mine "BackButton." Then, on
the
> > subsequent page, check the value of "BackButton" just like you'd
> check
> > any posted field/input, like...
> >
> > strValue = Request.Form("BackButton")
> >
> > You'll get a different value depending on which button was
clicked.
> > You'll have to experiment, but I belive Request.Form
("BackButton")
> will
> > equal "BackButton" if the back button was clicked, and it will
> equal ""
> > (empty string) if a different button was clicked.
> >
> > Hope that helps.
> >
> > - Vieth
> >
> > > -----Original Message-----
> > > From: Arnnie Martinez [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, June 28, 2004 1:30 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [ASP] Timeout a Page
> > >
> > > Dear Friends:
> > >
> > > I have a new challenge. What ASP code do I need to add to a
> > > page to detect that the user has triggered the back button?
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> > > --------------------~-->
> > > Yahoo! Domains - Claim yours for only $14.70
> > > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/17folB/TM
> > > --------------------------------------------------------------
> > > ------~->
> > >
> > > --------------------------------------------------------------
> > > -------
> > > Home : http://groups.yahoo.com/group/active-server-pages
> > > ----------------------------------------------------------------
--
> ---
> > > Post : [EMAIL PROTECTED]
> > > Subscribe : [EMAIL PROTECTED]
> > > Unsubscribe: [EMAIL PROTECTED]
> > > ----------------------------------------------------------------
--
> ---
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/