it depends on how your logging out.
For example, if you have a logout link that points to;
<your_server>/dir/default.asp?action=logout&user=someone
You would replace the URL in the meta tag with the above.
Hope that makes sense.
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
"Jack" <Jack@discussions.microsoft.com> wrote in message
news:A5FA8CFC-268A-4016-B448-49B602E4C334@microsoft.com...[color=blue]
> Thanks Steven for your help again. I have a quick question. With the[/color]
syntax[color=blue]
> you provided, is logout a universal code here or it depends on the logout
> screen name?
> In other words, should my corrected syntax be:
> <META http-equiv="refresh"
>[/color]
content="10;url=http://localhost/gwisbrandnewready2/default.asp?logout=true"[color=blue]
>
> Please let me know. Regards.
>
>
> "Steven Burn" wrote:
>[color=green]
> > It will only re-direct to the login page if the session has ended (i.e.
> > you've logged out). You need to set the URL to your "logout" URL first.[/color][/color]
For[color=blue][color=green]
> > example;
> >
> > <meta http-equiv="refresh"
> > content="10;url=http://localhost/somepage.asp?logout=true">
> >
> > This will have the same effect as clicking your "Logout" link (if you[/color][/color]
have[color=blue][color=green]
> > one).
> >
> > --
> >
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> >
www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> > "Jack" <Jack@discussions.microsoft.com> wrote in message
> > news:FE5F1FA8-E01F-4C72-A010-36663AB6215A@microsoft.com...[color=darkred]
> > > Thanks for your reply Steven. I just wrote the meta tag to my page and[/color][/color][/color]
am[color=blue][color=green][color=darkred]
> > > giving 10 secs to be redirected to the login page. However, with this[/color]
> > action,[color=darkred]
> > > after reloading a new record, I am waiting for more than one minute.[/color][/color][/color]
Still[color=blue][color=green]
> > I[color=darkred]
> > > do not see the page redirected to the login screen as shown in the[/color][/color][/color]
code.[color=blue][color=green]
> > Any[color=darkred]
> > > idea what's going on here? I wrote the meta tag in the <head> tag of[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > page. Thanks
> > > <META http-equiv="refresh"
> > > content="10;url=http://localhost/gwisbrandnewready2/default.asp">
> > > "Steven Burn" wrote:
> > >
> > > > > Does the custom timeout override the server default timeout?
> > > >
> > > > Alledgedly..... but in my experience, it's not very reliable.
> > > >
> > > > How about using the meta refresh tag to auto-redirect to the[/color][/color][/color]
"logout"[color=blue][color=green]
> > action[color=darkred]
> > > > after for example, 15 mins? (AFAIK, the default timeout for most[/color][/color][/color]
servers[color=blue][color=green]
> > is[color=darkred]
> > > > 20 mins).
> > > >
> > > > --
> > > >
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group
> > > >
www.it-mate.co.uk
> > > >
> > > > Keeping it FREE!
> > > >
> > > > "Jack" <Jack@discussions.microsoft.com> wrote in message
> > > > news:0F82099C-666D-41C1-BC0E-F4CD3582DB74@microsoft.com...
> > > > > Hi,
> > > > > In my application, the main page is accessed via a login screen. A
> > > > > particular record is accessed based on the value of login page.[/color]
> > Everything[color=darkred]
> > > > > works fine. However, if this screen is kept idle (not sure for how[/color]
> > long[color=darkred]
> > > > now),
> > > > > and then if I try to save, the following error message comes up:
> > > > > Error Type:
> > > > > Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
> > > > > [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing[/color]
> > operator)[color=darkred]
> > > > in
> > > > > query expression 'SubgrantIntID ='.
> > > > > /gwisbrandnewready2/insertorupdatecurrentexpense1.asp, line 32
> > > > >
> > > > > In this situation, I have to relogin again to do edits to this[/color][/color][/color]
form[color=blue][color=green]
> > for a[color=darkred]
> > > > > particular record and save.
> > > > > Now my question is: Is there any way to code to get one logged out
> > > > > automatically after sometime, so that, I do not have to encounter[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > > above
> > > > > error which means after sometime, the login screen will appear[/color]
> > instead.[color=darkred]
> > > > Does
> > > > > the custom timeout override the server default timeout? Any help[/color][/color][/color]
is[color=blue][color=green][color=darkred]
> > > > > appreciated. Thanks
> > > > > Regards.
> > > >
> > > >
> > > >[/color]
> >
> >
> >[/color][/color]