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 -> General/Other

 Off to great start with CCS 5

Print topic Send  topic

Author Message
FrankR

Posts: 154
Posted: 04/09/2012, 12:31 PM

I did really well over the weekend building a survey app, so we will be buying two licenses tomorrow as soon as my manager returns.

Two question that will hopefully wrap up that project:

1. It looks like some of the DTLookups I do are coming from a cache. It looks like the lookup in the database is not actually repeating. Can you tell me how to force this? I see options for Caching. I haven't touched the options, and it Appears to be off, but, behavior wise, it looks like things are being cached.

2. This is ASP.NET VB CCS 5 InMotion app. Can you tell me what I should do to ensure I have a very long - 8 hours or so - session timeout so that there isn't one while someone is working on this lengthy survey?

Thank you.

_________________
FR
View profile  Send private message
cvboucher

Posts: 191
Posted: 04/10/2012, 9:52 AM

One thing I've discovered with the InMotion templates is that is uses Forms Authentication for the security. It does populate the session variables but those usually go away after 15 minutes (depending on your IIS setting). Even after those session variables go away the app continues as if the user was still authenticated (I think for up to 30 days).

In one app where I relied on the session variables I added some code to the header include page to check if the user was still authenticated via forms authentication:

If HttpContext.Current.User.Identity.IsAuthenticated Then

and if the session variables were not populated, I would repopulate them by getting the user information from the database based on the user name:

HttpContext.Current.User.Identity.Name

HTH,
Craig
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.