CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 How Security Works in CCS?

Print topic Send  topic

Author Message
Andres Rormoser
Posted: 11/23/2004, 4:29 AM

I have a project where all the security works fine but in one page i have a link to an asp
page outside CCS to display a crystal report. The problem is that when i go back to the
CCS page i get the login page again. How do i preverse the login session?

Thanks in advance, AR

DonB
Posted: 11/23/2004, 6:39 AM

The login info is stored in Session variables. Your session is probably
expiring and the login info then has been lost. Look at the CCLoginUser()
function and CCGetCookie() / CCSetCookie(). You could copy the login info
from the session variables, into cookies, and then the values would stay
around as long as the browser is active. This requires you to call
CCLoginUser() with the user and password saved in your cookies.
CCLoginUser() actually sets session variables so you you COULD do that
yourself, but I recommend that you call the CCS function to minimize
compatibility in the future (should the login operation ever be changed by
Yes).

It would be nice to have the option of cookie vs. session for storing the
login info. In practice, session timeouts are frequently a problem, forcing
users to login again and again. It can also be a problem when you are
editing something for an extended period and click "Submit". It's very
annoying to see the login screen instead of having your data saved to the
database.

--
DonB

http://www.gotodon.com/ccbth

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.

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.