CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Selection to "feed" all pages

Print topic Send  topic

Author Message
cgosbee

Posts: 23
Posted: 10/31/2007, 12:14 PM

I have a solution with the following requirement/issues:

The entire site has a drop-down menu in the header. (works very nicely)

All pages require log-in, and redirect to the log-in if you aren't signed in. (also working)

What I need to do now is, immediately after log-in, have a page in which the user makes a selection, which is "saved", and all subsequent pages the user jumps to - whether through links on pages or through the drop-down menus - must have access to that selection, and have it used as part of the page's selection criteria. If a user jumps to a page and that selection hasn't been made, it should redirect the user back to the selection page.

I'm working in PHP.

Any advice anyone can provide on the "best" way to handle this would be appreciated. I can't quite see my way through this just now.



View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 10/31/2007, 6:52 PM

cgosbee
Here is one suggestion. You could just have a include page of a method/function (prior to page being rendered to user) that redirects the user if certain criteria are not meet by the user's session.

Here is another suggestion (More tedious and not good programming). You could put code in the Event Before Show for each page that will redirect the user if certain criteria are not meet.

Hopefully these suggestions will point you in the right direction.
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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