 |
| Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 1st, 2007, 12:05 PM
|
|
Friend of Wrox
|
|
Join Date: Feb 2007
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
and it worked - thank you for that one master, you are indeed a good man.
|
|

March 1st, 2007, 12:08 PM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
No worries, glad you got it worked out.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
|
|

March 1st, 2007, 12:09 PM
|
|
Friend of Wrox
|
|
Join Date: Feb 2007
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
and so am i, i predicted a messy end for the window and my laptop!
|
|

March 7th, 2007, 11:04 AM
|
|
Friend of Wrox
|
|
Join Date: Feb 2007
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi, i didnt want to resurrect this post but im forced to do so.
The code you suggested workes for IE but not in firefox! any suggestions?
|
|

March 7th, 2007, 11:17 AM
|
|
Authorized User
|
|
Join Date: Feb 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
try adding this line to the code above:
Code:
<%Response.ExpiresAbsolute = Now() - 1 %>
|
|

March 7th, 2007, 11:21 AM
|
|
Friend of Wrox
|
|
Join Date: Feb 2007
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
nope, no change i'm afraid, thanks anyway
|
|

March 7th, 2007, 11:24 AM
|
|
Authorized User
|
|
Join Date: Feb 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
what is firefox doing and what version of ff
|
|

March 7th, 2007, 11:26 AM
|
|
Friend of Wrox
|
|
Join Date: Feb 2007
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
FF v2.0.
In IE, when i login, i can browse and then click logout and i am redirected to the home page and if i click back or enter the secured page's URL then i am redirected to login.asp.
in FF, i click logout, get redirected as i should but i am not properly logged out as i am able to click back and still view the protected page
|
|

March 7th, 2007, 11:28 AM
|
|
Friend of Wrox
|
|
Join Date: Feb 2007
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
to add to this, when i click logout and get redirected, if i push refresh then i am logged out, same issue i had in IE until the code on the previous page cleared that up
|
|

March 7th, 2007, 11:29 AM
|
|
Authorized User
|
|
Join Date: Feb 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
for arguments sake try:
Code:
<%Response.Expires = -1000 %>
<%Response.ExpiresAbsolute = Now() - 1 %>
<%Response.AddHeader "pragma", "no-cache" %>
<%Response.AddHeader "cache-control", "private" %>
<%Response.CacheControl = "no-cache" %>
after adding the code..clear you cache manually before reloading the page
|
|
 |