Releasing a license using Viewrpt.asp

I am using Crystal Report Server XI and have written a small .asp app.
This app creates a SessionManager, get's an EnterpriseSession and generates a logontoken.
This logon token is used as the APSTOKEN in the viewrpt.asp URL string.
When viewrpt is accessed using this APSTOKEN, the CMC shows another session being used (as well as a license).
I have not found a way to release this licese once the webpage has been closed.
I have created FRAMESETs and used the ONUNLOAD event but no command I use will release the license.
I have tried some of the following:
Session.abandon
Session.Logoff
Response.Cookies("LogonToken") = ""
Nothing works.
The license is eventually released after 20 minutes.
Because users are also using InfoView, I cannot change the default timeout in web.config.
Any help would be appreciated.
Ray

There are two kinds of tokens - the failover token (the default token), and the WCA token.
When you use the failover token, it creates a new EnterpriseSession object that is independent of the original EnterpriseSession that created the token.  The original session will have no control over the session created by the token.
The WCA token does not create a distinct EnterpriseSession when it is used, but is tied to the original EnterpriseSession that created it.  When the original EnterpriseSession is terminated, any session created by the WCA token is terminated as well.
The 20 minutes lifetime suggests you're using the failover token, and that it's terminating only on HTTP Session timeout. 
Separate issue from the above is how to trigger a logout on the server when a client closes a web browser.  There's no consistent way to do so that works across all web browsers - the OnUnload was a common method used when a report was displayed in the Java Applet viewer or the ActiveX viewer - when the applet or ActiveX viewer was unloaded, a cleanup page can be triggered on the server.  However, this is problematic when using the DHTML viewer, since it's not a client component that's unloaded when report-viewing is done.
There is a 'trick' that works for Internet Explorer 6 that triggers a JavaScript when a window is closed - there's many descriptions of this method found by Googling - however, it's specific to IE 6.
Sincerely,
Ted Ueda

Similar Messages

  • License question how do you release a license?

    Hi all,
    I attended 360Flex this past week and as I don't have a
    laptop I needed to use a loaner lap top from our IT Department. I
    installed Flex 2 on it and used my License for it but now need to
    uninstall the program and release the license. I went to the
    license manager (a logical spot) and there is no info about
    releasing a license it just let's you know your license is valid or
    not. I'm afraid if I uninstall the software on the computer my
    license will still be tied up and I will no longer be able to use
    it. Any help or information would be appreciated.
    Thank you,

    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat.
    There is also a phone option. 1 (800) 833-6687
    There's also a dedicated user forum at:
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • I got creative cloud and want to sell lightroom 5.  How can I release the license?

    I don't know how to do this, but I want to make sure that the new buyer can use the software properly.  I bought this and a month later, uninstalled it when I upgraded to creative cloud.  I don't know how to release the license so I can sell this software to a third party.  Maybe that isn't needed, but I need to make sure they can license it on their computer.  Please help since I don't know how to find out and my buyer is waiting to hear.  Thanks so much!
    -Marit

    I was just about to ask the same question.
    Any clarification would be much appreciated.
    Edit: In my case, I haven't uninstalled the box version of LR5, I just let the CC App install the LR CC version (i.e. just changed the license type to CC)according to this official FAQ: http://helpx.adobe.com/lightroom/kb/lightroom-creative-cloud-faq.html#id_81567

  • Performance degradation using Jolt ASP Connectivity for TUXEDO

    We have a customer that uses Jolt ASP Connectivity for TUXEDO and is suffering
    from a severe performance degradation over time.
    Initial response times are fine (1 s.), but they tend to increase to 3 minutes
    after some time (well, eh, a day or so).
    Data:
    - TUXEDO 7.1
    - Jolt 1.2.1
    - Relatively recent rolling patch installed (so no there are probably no JSH performance
    issues and memory leaks as fixed in earlier patches)
    The ULOG shows that during the night the JSH instances notice a timeout on behalf
    of the client connection and do a forced shutdown of the client:
    040911.csu013.cs.kadaster.nl!JSH.234333.1.-2: JOLT_CAT:1185: "INFO: Userid:
    [ZZ_Webpol], Clientid: [AP_WEBSRV3] timed out due to inactivity"
    040911.csu013.cs.kadaster.nl!JSH.234333.1.-2: JOLT_CAT:1198: "WARN: Forced
    shutdown of client; user name 'ZZ_Webpol'; client name 'AP_WEBSRV3'"
    This happens every 10 minutes as per configuration of the JSL (-T flag).
    The customer "solved" the problem for the time being by increasing the connection
    pool size on the IIS web server.
    However, they didn't find a "smoking gun" - no definite cause for the problem.
    So, it is debatable whether their "solution" suffices.
    It is my suspicion the problem might be located in the Jolt ASP classes running
    on the IIS.
    Maybe the connection pool somehow loses connections over time, causing subsequent
    users having to queue before they get served (although an exception should be
    raised if no connections are available).
    However, there's no documentation on the functioning of the connection pool for
    Jolt ASP.
    My questions:
    1) What's the algorithm used for managing connections with Jolt ASP for TUXEDO?
    2) If connections are terminated by a JSH, will a new connection be established
    from the web server automatically? (this is especially interesting, because the
    connection policy can be configured in the JSL CLOPT, but there's no info on how
    this should be handled/configured by Jolt ASP connectivity for TUXEDO)
    Regards,
    Winfried Scheulderman

    Hi,
    For ASP connectivity I would suggest looking at the .Net client facility provided in Tuxedo 9.1 and later.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How can we generate our FTP license using TrueLicense software ?

    Hi friends,
    I am Jaymin Shah from India.
    Currently I am developing an J2EE application for office use. Now I want to commercialize that application.
    So, I look around the web and found TrueLicense as a good Licensing software available for Java.. It is in Java so its a free source.
    I am OK with generating regular license using privateKeyStore and publicKeyStore. and can validate my application using that.
    But, when I try to built a FTP(Free Trial Period) license with it, it is not helping me. I want to give 15 days free trial to customers when delivered CD to them. And after that I want to deliver regular license to them for use the application.
    Can anybody help me in setting the FTP in license in my application ?
    Thanks in advance.

    Jaymin wrote:
    Thanks JoachimSauer for ur reply.You're welcome, but please avoid this kind of SMS-appreviations ("ur" instead of "your"), they make you look as if you don't care and therefore result in less useful replies.
    First thing is - I am new to this forum (infact for any forum.) so by mistake i post it in this section. But i cant find any section for that. Thats why i put it in a simple New to java section.I didn't mean to post it to another section of this forum, but to another forum and/or mailing list altogether. This forum is not for support on third-party libraries, but for core Java questions.
    Second. - team is working on that TrueLicense project. But there is less help available on web for that TrueLicense.The [TrueLicense homepage|https://truelicense.dev.java.net/] has a link to some [mailing lists|https://truelicense.dev.java.net/servlets/ProjectMailingListList]. That's probably the correct place to ask your questions.
    Third - TrueLicense Library Collection (TLC) is totally free source.It is open source and free software ("free source" is not a commonly used term). But the fact has nothing to do with it being written in Java. I just told you that Java software doesn't necessarily need to be free software.
    So, please read about FTP in that and give me reply regarding that.No way! You want us to learn about TrueLicense just to help you? That's unlikely. Go somewhere where people already know that software and ask your questions there!

  • Error release purchase order using transaction code me29n

    i have warning error this purchasing document number cannot be released.
    while i enter me29n t code.why?
    then how to release purchase order using me29n t code?
    can anyone answer this two questions.

    hi
    i have warning error this purchasing document number cannot be released. while i enter me29n t code.why?
    is the release strategy is triggred for the po ?? check thisin  P order in me23n ,in header level check release strategy tab ,
    then how to release purchase order using me29n t code? can anyone answer this two questions.
    just go to me29n >release strategy tab here just click on the release button in front of the release code

  • Upgrading Crystal 9 to Crystal XI using Classic ASP

    I am trying to find information on how to upgrade crystal 9 to crystal xi using classic asp code.  Not having much luck, any help would be appreciated.
    Thanks

    Hi Amy,
    This forum is dedicated to topics related to the creation and design of Crystal Report documents.
    This includes topics such as:
    Database connectivity,
    Parameters and Parameter prompting,
    Report formulas,
    Record selection formulas,
    Charting,
    Sorting,
    Grouping,
    Totaling,
    Exporting
    For questions related to custom application development using Crystal Reports, refer to the appropriate Crystal Reports forum under:
    Business Objects SDK Application Development.

  • Error when releasing the WS using the transaction WSCONFIG

    Hello Colleagues,
    Following error message is recieved when i try to release the webservice using the transaction WSCONFIG.
    Error when creating Web service (Method call of IF_SRT_REGISTRY_ENTRY~CREATE_NEW failed; the class  does not exist)
    Can you please let me know if anyone of you have faced the similar error and have been successful in solving.
    Thanks & Best regards,
    Ajay

    Hi Ajay,
    Check if the thread below resolves your issue:
    [Re: web service - How activate host ?;
    Regards, Trevor

  • Download Adobe License Server Tools? I want to manage the licenses using the in-house server

    From this ticket https://forums.adobe.com/message/1329254#1329254,  Am I able to download Adobe License Server Tools? I want to manage the licenses using the in-house server
    Thanks.

    Hi Carol,
    Please check the given guide for in-house licensing tool;
    http://www.adobe.com/uk/elicensing/licensemanagement/alm/pdfs/server_tools_user_guide.pdf
    Let us know in case you require more detail regarding your query.
    Regards,
    Sarika Behal

  • NCS Prime 2.1 Percentage of Licenses used on WLC2504

    Is there an exportable report that can be run on NCS Prime Infra 2.1 that will provide an AP count percentage of licenses used for each controller?
    Attached is a screen shot of a visual of what I want in an exportable excel file for WLCs.

    Thank you, however, I need to export information that will tell me the percentage of licenses used of the total by each WLC. 
    I have many hundreds of WLCs and need a spreadsheet that will tell me how many licenses each individual WLC has and what percentage each WLC is using of their total.

  • Released for external use RFMs

    Hello,
    Is there a comprehensive list of all the RFMs marked as "released for customer/external use" somewhere? If not, is there a way to find if a particular RFM is or not released for external use?
    BTW, SAP Interface Repository was not a great help since it has information only on selected RFMs.
    Thanks.

    Hello,
    Thank you for the answer, Christoph. There is definitely a field in the attributes of a FM which says "Released on" or "Not released". I hope you are talking about this field.
    A couple of more things:
    So, there are very few FMs which are actually released for external use - most of these being BAPIs. Is that right?
    (ii) I can not use an FM which says "Not released" in my app, if I want certification of it - right?? It has to say "Released on: date of release".
    Thanks.

  • FXComps Library (version: 1.0.0) is released (BSD license)

    FXComps Library (version: 1.0.0) is released (BSD license).
    http://www.fxcomps.com/downloads.html
    FXComps Library contains the following former FXComps libraries (as well as new components and classes):
    - FXComps Core
    - FXComps Money & Decimal
    - FXComps VAComboBox
    - FXComps Collator
    New classes & components:
    - Table component for reporting purposes
    - Enhanced versions of several controls
    - ResourceUpdater
    - Printing & print preview
    - etc.
    For more information, follow this link:
    http://www.fxcomps.com
    Regards,
    Laszlo Sas

    The "Significant Changes since Beta" section is not present in the in released documentation (...\jwsdp-1.1\jaxb-1.0\docs\ReleaseNotes.html)
    ... [flame, flame, rant, rant, ...] ... which cost me a LOT of time

  • Has Apple released Sample Code using In-App Purchase?

    The title says it all...
    Does anyone know if Apple has released Sample Code using In-App Purchase?
    I've read through (skimming mostly) the In App Purchase section of the iPhone OS Reference Library
    Thanks to K T I have:
    http://developer.apple.com/iphone/program/sdk/inapppurchase.html
          and
    https://itunesconnect.apple.com/docs/iTunesConnect_DeveloperGuide.pdf
    Check pages 52~71 in the 115 page updated iTunes Connect Developer Guide for all the ugly details...
    This will be part of my weekend project
    -Carl

    I guess I will mark this solved, for the time being.
    I was just hoping that maybe Apple had released some example code in a working program, rather than just the snippets used to explain the process. I haven't had the presence of mind to read and follow the document all the way through and wanted to compare working code if possible.
    Thanks Ray. If all goes well, maybe I'll figure it out by the end of the weekend.
    -Carl

  • How to tell whether a license used to install SQL Server is MSDN license or Volume license?

    I want to check license used to install SQL Server is MSDN license or Volume license for SQL Servers which are at least SQL Server 2008 on Windows 2008 R2.  Is there any script/command/tool that I can run on Windows or SQL Server to find such
    information? 

    Hello,
    This is a community forum for technical questions & issues.
    For question regarding pricing / licensing please contact a Microsoft sales partner or licensing expert.
    Call (1-800-426-9400), Monday through Friday, 6:00 AM to 6:00 PM PST to speak directly to Microsoft licensing specialist.
    http://www.microsoft.com/en-us/server-cloud/products/sql-server/buy.aspx
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • Microsoft releases new license terms for Windows 10

    Finally, it's nice to see MS actually writing some nice, readable licensing agreements.
    Although I am pretty sure that there will be a move to get the Insiders onto WaaS at some point in the future, but since they have had a free OS for a number of years at that point then I am sure most people will not mind.

    Microsoft releases new license terms for Windows 10: Biggest surprise? No gotchasEd Bott has Just published an article on ZDNet which reviews in detail the just-released Windows 10 license agreementFirst published on ZDNet By Ed Bott for The Ed Bott Report | July 15, 2015 -- 18:30 GMT (19:30 BST) | Topic: Windows 10 "Two weeks ahead of the global launch of Windows 10, Microsoft has finalized the terms of its license agreements for the new operating system. I've had several days to study the documents in detail, and I can report that there are no surprises, no gotchas, and no hidden subscription traps waiting to be sprung in two or three or four years.""In fact, the new license agreement is simpler and written more clearly than any similar document I've reviewed in 20 years of examining Windows license agreements. There are a few...
    This topic first appeared in the Spiceworks Community

Maybe you are looking for