Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal 8.5 License

Status
Not open for further replies.

jflmeing

Programmer
Jan 10, 2001
30
US

I have just upgraded to Crystal 8.5, where they implemented code to only allow 5 concurrent users to run reports.

I know there is a default timeout for each Crystal Viewer session. After the timeout period, does that destroy the session and free up a user license?

If it does not, is there some code I can implement to do so?

Thank you,
Jennifer
 
The default timeout for a session is 20 minutes.
You can change it in ASP by doing
session.timeout = 10
Then, the session will be destroy after 10 min and it will free up a license.

You can also use this to release a license when a report had been view

set session("oPageEngine") = nothing
set session("oRpt") = nothing
set session("oApp") = nothing
Session.Contents.Remove("oPageEngine")
Session.Contents.Remove("oRpt")
Session.Contents.Remove("oApp")

If you want to see more sample code, go to Crystal decisions web site at to download the file aspxmps85.exe

This is if you're using ASP and RDC to view your reports,if you're using VB, then maybe someone else will be able to help you more since i only use ASP.

HTH,
Martin
 
Thank you for this information.

I am using ASP also. Sorry, I forgot to mention it in my original post.

Jennifer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top