CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 In and out of CCS Project

Print topic Send  topic

Author Message
Karen
Posted: 07/05/2003, 10:40 AM

Hi,

I have a CCS project which I want to add a Non CCS project so that they interlink as one site.. how do I achieve this without relogging in and out of both projects...they both use the same tables and passwords and both projects are part of the same website.

For example I do complex reporting using other software...because CCS lacks this capability. And I have other more design orientated pages which I publish outside of CCS. For both types I put into seperate folders on the server.

Maybe I am missing something and making a mountain out of a molehill..

Is their an easy way to carry over the login info to all pages whether in CCS or not which will work on all pages
glerma
Posted: 07/05/2003, 11:48 AM

Did you try including your Common.XXX page and other codecharge-generated includes?

I guess in theory you can do this, however it depends on how the "other" site pages are developed. If they are coded using similar html template structures, then there should be no problem.

If you are using security though, you might have problems because there is no way to call security functions by the common API.


DaveRexel
Posted: 07/08/2003, 11:11 AM

Hi Karen

In PHP based sites I've had some success with these statements :
--------
define("RelativePath", ".");
include(RelativePath . "/Common.php");
CCSecurityRedirect("3;4;5", "/Login.php");
--------
I've been able to use the various CCS functions such as the CCDLookup as well

Hope that helps
Dave
lneisius
Posted: 07/08/2003, 12:05 PM

In my opinion the best way to start is as follows:
1. Sessions for security must be the same ie. userid, groupid, etc...
2. Modify CCS sessions to match sessions of other code as CCS will modify all the code for you by changing the project properties.
3. Use as many common functions from the CCS project as possible when modifying the code from the other project.
4. Modify the CCS common functions to add any functions needed by the other project ie. adding sessions to the login function.

I've attempted this a few times and so far it has worked!!!!

   


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

MS Access to Web

Convert MS Access to Web.
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.