CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Logout Issues

Print topic Send  topic

Author Message
ckroon

Posts: 869
Posted: 07/07/2008, 5:24 PM

Hi all..

I have an index page with a Logout Action on it.. all my logout links have the expression logout="True" on them, and refer to the index.php page.

This is the situation: Login, use menu to go to restricted page.. do some work...then click teh logout button.
I am back at index page, logged out.
now, if user uses back button to go back because they forgot to do something.. the page is there.. but when they try to do something on that page it kicks them out back to the index page...Great!

..but here's the problem.. when they log back in it sends them to a messed up version of that page...

the urls ret_link, type and ccsForm are the culprits...the ret_link path is not pathed correctly...

Any way to combat this? Did I miss something somewhere?

i have tried putting ret_link and ccsForm in the Remove Parameters of the Login record.. but that did not work.

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
ckroon

Posts: 869
Posted: 07/07/2008, 5:35 PM

Ok.. some progress... but still issues :)
I made a logout link using the authentication builder and saw that it had Preserve Parameters=Get on it.. so I made that change and the issue has been resolved.. sort of...

Now it's: Login, go to a page, Logout, use Back button, try to change data and get kicked back to the Index page.. except its not the index page.. its the current page I'm on with the index page switched for the real page

I am in an Update panel...which is probably why it is doing this.. any way around it?

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
wkempees


Posts: 1679
Posted: 07/09/2008, 2:11 AM

http://forums.codecharge.com/posts.php?post_id=94688

Is this one not working for you?
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
ckroon

Posts: 869
Posted: 07/09/2008, 9:45 AM

This is a different app. with a different login/logout set up.
I need to forward this to support apparently.
Lets say I call up a page that is restircted..it boots me to the login page.. I log in and it redirects me to a totally corrupted version of the called page...the path in the url is index.php?ret_link="wholelattagobbledygook"

_________________
Walter Kempees...you are dearly missed.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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