CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Logout Link stays cached

Print topic Send  topic

Author Message
Sean

Posts: 39
Posted: 05/18/2004, 8:13 AM

I have a logout link that is hidden with extended HTML, and that works fine when the user is logged out, but there is a slight problem.

When I click logout, it redirects me to the home page and hides the link, but when I click a navigation link to another page, the logout link shows up on that page (sometimes). When I try to click the link, it redirects me to the login page. If I don't click the link and refresh the page, it goes away.

Is there anyway around this?

Thanks,
Sean
View profile  Send private message
Oper


Posts: 1195
Posted: 05/18/2004, 10:26 AM

its just a view (you cant change anything)

on risk enviroment i just redirect the logout to a LOGOUTPage and force to close browser. (it will askyou for YES/NO close)


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
peterr


Posts: 5971
Posted: 05/18/2004, 10:52 AM

I believe that this could be solved by configuring page caching. You might need to use some META tags for this within your HTML.
See http://www.google.com/search?q=html+meta+cache

Possibly this would be sufficient:
<META http-equiv=Pragma content=no-cache>
Though you may want to test it.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Sean

Posts: 39
Posted: 05/18/2004, 11:00 AM

Thanks for the info, I will look into both of these options.

peterr,

On a side note, whenever I put META tags in the HTML portion in CCS, I have problems reopening that page from within CCS.

In other words, CCS crashes every time I try to open a page with a META tag. Any ideas?

Thanks,
Sean
View profile  Send private message
peterr


Posts: 5971
Posted: 05/18/2004, 11:07 AM

I'm not aware of such issue but our support should be able to help.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Oper


Posts: 1195
Posted: 05/18/2004, 11:13 AM

in your Html
<head>
<META http-equiv=Pragma content=no-cache>

but still if you press back button the page will pop

using no-cache in HTML
or
response.expire=-1 in ASP

its a knife with 2 side. (if you has limited bandwith)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.