|
 |
asp_web_howto thread: Session Time out
Message #1 by =?iso-8859-1?q?sky=20limit?= <skylimit7772002@y...> on Tue, 24 Sep 2002 13:20:03 +0100 (BST)
|
|
Hi Guys
My problem is I am firing certain database queries based on session variables.
Now when session expires I will certainly get some errors. How can I avoid that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
Message #2 by "Craig Flannigan" <ckf@k...> on Tue, 24 Sep 2002 13:34:28 +0100
|
|
At the top of the page, before any database code, do something like this...
<% If Session("YourSessionName") = "" then response.redirect "login.asp" %>
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #3 by =?iso-8859-1?q?sky=20limit?= <skylimit7772002@y...> on Tue, 24 Sep 2002 13:40:48 +0100 (BST)
|
|
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
Message #4 by "Craig Flannigan" <ckf@k...> on Tue, 24 Sep 2002 13:48:27 +0100
|
|
Hi,
You can check for a session expired with the code i sent, instead of
redirecting to a login page, why not redirect them to a page called
"Timedout.asp" which contains your explanation, and a link to Login.asp?
<% if Session("NameHere") = "" then response.redirect "timeout.asp" %>
Craig.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:41
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do
something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #5 by "TomMallard" <mallard@s...> on Tue, 24 Sep 2002 05:50:21 -0700
|
|
Instead of redirecting to login you can return html with javascript to post
to the login page, then it will have the form values you send to it to tell
it's a return from a page. I've used this idea to return the user to the
page they were on before session timed out after they log in again.
tom mallard
seattle
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: Tuesday, September 24, 2002 5:41 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do
something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #6 by "Joe Ingle" <joe@k...> on Tue, 24 Sep 2002 14:05:24 +0100
|
|
<% If Session("YourSessionName") =3D "" then response.redirect
"login.asp?Session=3DExpired" %>
on login page
<%
If Request.Querystring("Session") =3D "Expired" Then
Response.Write "<B>You outa time baby!</B>"
End If
%>
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:41
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to
login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code,
do something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I
avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
Message #7 by "Craig Flannigan" <ckf@k...> on Tue, 24 Sep 2002 14:09:30 +0100
|
|
What I do in this instance is just to use <%
Request.ServerVariables("HTTP_Referer") %> in the response.redirect line in
the login page once the user's details have been approved.
That way, like Tom's suggestion, it takes the user back to the page they
were on, missing out the Javascript.
--- Login page ---
If Request.ServerVariables("HTTP_Referer") <> "" then
Response.redirect Request.ServerVariables("HTTP_Referer")
End If
--------------------
-----Original Message-----
From: TomMallard [mailto:mallard@s...]
Sent: 24 September 2002 13:50
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Instead of redirecting to login you can return html with javascript to post
to the login page, then it will have the form values you send to it to tell
it's a return from a page. I've used this idea to return the user to the
page they were on before session timed out after they log in again.
tom mallard
seattle
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: Tuesday, September 24, 2002 5:41 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do
something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #8 by =?iso-8859-1?q?sky=20limit?= <skylimit7772002@y...> on Tue, 24 Sep 2002 14:22:28 +0100 (BST)
|
|
Hi Craig
Can u explain a little more how to use
Request.ServerVariables("HTTP_Referer")
Thanks
Craig Flannigan wrote:What I do in this instance is just to use Request.ServerVariables("HTTP_Referer") %>in the
response.redirect line in
the login page once the user's details have been approved.
That way, like Tom's suggestion, it takes the user back to the page they
were on, missing out the Javascript.
--- Login page ---
If Request.ServerVariables("HTTP_Referer") <> "" then
Response.redirect Request.ServerVariables("HTTP_Referer")
End If
--------------------
-----Original Message-----
From: TomMallard [mailto:mallard@s...]
Sent: 24 September 2002 13:50
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Instead of redirecting to login you can return html with javascript to post
to the login page, then it will have the form values you send to it to tell
it's a return from a page. I've used this idea to return the user to the
page they were on before session timed out after they log in again.
tom mallard
seattle
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: Tuesday, September 24, 2002 5:41 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do
something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
Message #9 by "Craig Flannigan" <ckf@k...> on Tue, 24 Sep 2002 14:36:48 +0100
|
|
HTTP_Referer will show you the page that the user came from - providing it
was a link, or a Response.Redirect.
If a user simply typed in the address of that page, HTTP_Referer contains
nothing.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 14:22
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Hi Craig
Can u explain a little more how to use
Request.ServerVariables("HTTP_Referer")
Thanks
Craig Flannigan wrote:What I do in this instance is just to use
Request.ServerVariables("HTTP_Referer") %>in the response.redirect line in
the login page once the user's details have been approved.
That way, like Tom's suggestion, it takes the user back to the page they
were on, missing out the Javascript.
--- Login page ---
If Request.ServerVariables("HTTP_Referer") <> "" then
Response.redirect Request.ServerVariables("HTTP_Referer")
End If
--------------------
-----Original Message-----
From: TomMallard [mailto:mallard@s...]
Sent: 24 September 2002 13:50
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Instead of redirecting to login you can return html with javascript to post
to the login page, then it will have the form values you send to it to tell
it's a return from a page. I've used this idea to return the user to the
page they were on before session timed out after they log in again.
tom mallard
seattle
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: Tuesday, September 24, 2002 5:41 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do
something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #10 by =?iso-8859-1?q?sky=20limit?= <skylimit7772002@y...> on Tue, 24 Sep 2002 17:07:54 +0100 (BST)
|
|
Thanks Guys
I will try to work out
Thanks again
Craig Flannigan wrote:HTTP_Referer will show you the page that the user came from - providing it
was a link, or a Response.Redirect.
If a user simply typed in the address of that page, HTTP_Referer contains
nothing.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 14:22
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Hi Craig
Can u explain a little more how to use
Request.ServerVariables("HTTP_Referer")
Thanks
Craig Flannigan wrote:What I do in this instance is just to use
Request.ServerVariables("HTTP_Referer") %>in the response.redirect line in
the login page once the user's details have been approved.
That way, like Tom's suggestion, it takes the user back to the page they
were on, missing out the Javascript.
--- Login page ---
If Request.ServerVariables("HTTP_Referer") <> "" then
Response.redirect Request.ServerVariables("HTTP_Referer")
End If
--------------------
-----Original Message-----
From: TomMallard [mailto:mallard@s...]
Sent: 24 September 2002 13:50
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Instead of redirecting to login you can return html with javascript to post
to the login page, then it will have the form values you send to it to tell
it's a return from a page. I've used this idea to return the user to the
page they were on before session timed out after they log in again.
tom mallard
seattle
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: Tuesday, September 24, 2002 5:41 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Session Time out
Thanks for the reply.
Well How can I Tell user why he is back to login page..
That why I need to throw a message 'sesion expired' and then link to login..
Wot I want to know how to pass message.......
Thanks
Craig Flannigan wrote:At the top of the page, before any database code, do
something like this...
Then if your session is empty, it will send the user to the login page.
-----Original Message-----
From: sky limit [mailto:skylimit7772002@y...]
Sent: 24 September 2002 13:20
To: ASP Web HowTo
Subject: [asp_web_howto] Session Time out
Hi Guys
My problem is I am firing certain database queries based on session
variables.
Now when session expires I will certainly get some errors. How can I avoid
that if Session Time out .
What I want is if Session Time out then I need to pass message somrthing
like
"Session Expires"
and then link to login page.
Thanks
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---------------------------------
Get a bigger mailbox -- choose a size that fits your needs.
|
|
 |