Getting Redirect issue when clicked on CR controls after session expiry

Dear Experts,
I have a issue in my ASP.NET and crystal reports and the scenario is as follows:
I have implemented some reports in my my ASP.NET page. If the page is left alone for 15 mins (assuming 15 mins is configured as session time out), and then click on any buttons in the crystal report control tool bar (like export, navigate and etc), I am getting the following error.
Response.Redirect from inside an asynchronous callback method
I get this error beacuse in my base class I check for validity of the session and do a redirect to home page using Response.Redirect() when the session in invalid. This code apparently fails as crystal report make a asynchronous call to the page when the toolbar is clicked.
I got some links from other sites suggesting to add some java scripts to the response stream and etc. It did not work for me.
I am sure some one would have faces this issues and got a fix for this. If so, please share with me
TIA,
Prem

Not sure.  The only thing that comes to mind is to check for the session variable to see if its still alive in the Page_Init.  You might be able to trap it early enough there.
Other than that, I doubt this can be resolved in these forums and I'd recommend creating a phone case here:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
Ludek

Similar Messages

  • Get "Access Denied" when click open a PDF file

    Hi Friends,
    Get "Access Denied" when click open a PDF file linked from SharePoint 2013 page.
    What are the route causes any one is remove the permissions are stopped the inheritance permissions of the library.
    Can anyone face the same issue please help me.
    Thanks,
    Tiru
    tirupal

    Hi,
    If you are able to open the same document earlier,then  anonymous access enabled on your doc library then.
    If you are facing this problem in first time,then you do not have required permission (may be custom permission level has been set ) on it.
    Murugesa Pandian.,MCTS|App.Development|Configure

  • 2nd day w/my ipad2.  Have spent 5 hours trying to get my ipod music to play on the ipad..it has been downloaded and synced. When I click on itunes , I get a window that says "Apple mobile device service is not started."  I get music symbol when click ipod

    2nd day w/my ipad2.  Have spent 5 hours trying to get my ipod music to play on the ipad..it has been downloaded and synced. When I click on itunes , I get a window that says "Apple mobile device service is not started."  I get music symbol when click ipod.

    http://support.apple.com/kb/ts1567

  • Why does my form data gets cleared out when clicking on the back button.

    Can someone explain why does my form selections get cleared out when clicking on the back button.
    I have a JSP page that displays a form with some selections and text boxes. I populate the page and submit the request. The action on the submit call another jsp page, which processes the data and displays the results via a <jsp:include> statement which calls the results page. When clicking on the back button from the results page, it returns me to the form page, but the selections are cleared out.
    1. Is there something in my calling of the pages that causes this behavior and can I prevent it?
    I notice that the behavior is different when using the IE 6.0 version Netscape 7.1. IE clears the page Netscape 7.1 retains the settings.
    If I cannot prevent this behavior does that mean I will have to save the state of the form data. And if I have to save the form data, what would be the easiest method of doing this. I'm a beginner to JSP and Java, but have some ASP experience. I don't understand why the back button in a JSP request clears the form data but a regular HTML page does not can someone explain?
    THANKS.

    the browser doesn't have to remember what you submitted and fill that back in.
    you can't prevent it unless you can ensure a new request to the server in which you can fill the default values in there.

  • I run DeviceDemo sample to send email, when click send email button after f

    I run DeviceDemo sample to send email, when click send email button after filling all fields, it took me to EverNote application, can not send email. does anyone has this kind experience? how to fix it?

    Hi,
    ADF Mobile cannot directly send emails as this is a security precaution of your mobile phone (imagine all applications could send mails without you confirming). Instead the send mail functionality launches the mail client you have configured and fill in the information you provided in the application. The mail function by the way is implemented through Cordova.
    Frank

  • Redirecting user to login page after session expiry

    Hi,
    Default session expiry implementation in sap EP6.0 doesn't work properly. To overcome this, we have implemented one component where we check the idle time and throw the user back to the login page if the idle time has exceeded the session expiry period. This component has been added to desktop inner page as an iView. Following is the logic put in this component.
    IAuthentication ia = UMFactory.getAuthenticator();
    ia.logout(httpRequest, httpResponse);
    httpResponse.sendRedirect("/irj/portal");
    We are successfully getting the login page after session expiry. Issue is, our portal server is running on 11111 port. We cannot change this to 80 on unix because of unix limitations for the port number. So we have put one apache web server before our portal server. Apache web server is listening on port 80 and forwarding the request to our portal server.
    Now when user is redirected to the login page, url being shown in the browser is http://<host_name>:11111/irj/portal but I am expecting http://<host_name>/irj/portal (without port). I have tried putting the full url in sendRedirect() method but that too doesn't work.
    Any help is highly appreciated.
    Regards,
    Chandra

    Hi Chandra,
    Let the URL be relative in the sendRedirect i.e.
    httpResponse.sendRedirect("/irj/portal");
    However since you have a Reverse proxy in front, the response header for redirect will not contain the address of the reverse proxy in this case, your servername without port. You have to properly configure your reverse proxy so that the HTTP Headers are changed properly before sending the response to the users.
    Check this URL,
    http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#proxypassreverse
    This gives you the details on configuring your apache.
    Hope this helps.
    Ankur
    P.S. If this helps please reward points.

  • I keep getting redirects if I click on a link. If I click the same link with open in new tab or window it opens fine.

    I get redirects always in current open page. If I click a link and say open in new tab or new window it does not redirect. I've noticed explorer is now advertising built in software to eliminate someone hijacking their browser. If I have to keep searching for tools to clean registry's and browser issues -- I may have to switch back to Explorer or Chrome. Lately my Firefox which I'm most used to is driving me nuts... Why can't you guys provide a tool that cleans the adware, hijacks, etc off the browser? I even downloaded the latest version and I'm still having the same problem-- seems the hijack to redirect remains......

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to Get the value when clicking on the link

    I had a problem with when clicking on the link.
    I need get the link value to the controller when clicking on the link.
    I am displaying the database columns in jsp using repeater in links.
    I am displaying the data like this:
    RED
    BLUE
    GREEN
    these are three links.when clicking on the link RED. RED should go to the controller.
    After getting RED to the controller i will get the RED value from the database.

    my requirement is like that only
    I have just given the example of emp and dept
    emp(empno,zone_group_id,zone_id,deptno,ename,emp_p_ind,last_update_datetime);
    dept_emp(empno,dept_no,loc,dname,sal_emp,grade,last_update_datetime);
    CREATE OR REPLACE VIEW emp_zone AS
    SELECT e.empno,
          (select zone_group_id from price_zone_group where rownum = 1) zone_group_id,
           d.loc zone_id,    
           d.grade,  
           d.last_update_datetime,
      FROM dept_emp d
          emp e
    WHERE d.empno=e.empno
       AND e.emp_p_ind = 'Y'
      WITH READ ONLY;
    Now
    my requirement is to get the data of emp_zone view and needs to store those data into some other temp table
    if any of the above base table got updated deleted or inserted then the view last_updatetime also will get updated but problem is why im not using base table
    direct because it is having huge data and it performance issue .i have to get the value on the basis of view only and using some logic

  • Web redirecting issue when users reconnect guest ssid

    We are facing new issue on our controller for Guest SSID. This SSID used for Guest users and it is web base redirected to Aruba CPPM. First time web page redirects to controller virtual IP address and then Aruba CCPM.
    The scenario is as below
    - The user fills the form and gets redirected to a page where there is a login button which is grayed out till the sponsor approves the mail.
    -Once the sponsorer approves the mail, the login is highlighted and user connects to internet. 
    -Issue occurs when the user disconnects and connects to the SSID and tries to login again. There the user is redirected to controller management IP not on virtual IP.
    Controller Make Model:-5508
    IOS Version:- 7.5.102.0

    Well... you should upgrade to v7.6.110.0 as that code is deferred.  I don't know how you have your WLAN setup, is it use open and your using a pre-auth ACL?  Have you also posted in the AirHeads forum for suggestion?
    Post your show wlan <wlan ID>

  • Why do I get an error when clicking on "view in browser" in my newsletter?

    Hello. I am trying to get the URL for my email campaigns so I can show some of them on my webpage. When I tried to get the URL by clicking on the email I sended in the tag that says "view in browser":
    I get the following URL:
    http://www.coscatl.com/CampaignProcess.aspx?A=View&VID=0&KID=116388
    With the following error:
    ERROR: This feature is not available in preview mode.
    Any ideas? Suggestions?
    Thanks!

    Hi Steve. Thank you for your time.
    You are right, the link does work after the campaign has been delivered.
    By the way I am big fan of BC Gurus.
    Take care and gracias again!

  • Why do I get an error when clicking on topics in email?

    I subscribe to the forum posts that I create and by doing so I get an email when the thread has been updated. The email contains a link to the message thread but when I click I got an Apple.com webpage saying "An error has occurred". Does anyone else have this problem? How do you fix it?

    That's the truth. I get the same error when I log in
    (and it's on my Mac computers!!).
    Thanks for sharing! I was beginning to feel paranoid and think it was a Windows XP thing...

  • Get bigger pictures when click on it!

    Hey,
    I have a problem with getting bigger prictures by clicking on the smaler one.
    Example:
    On our news section are posted some pictures. That pictures are "thumbnails" (or just smaller pictures) and when I click on the thumbnail the original picture
    shuld be displayed. But it doesn´t work. And I won´t use a picture gallery for it because it makes no sense to create a own gallery for every
    new picture on the site.
    Ideas?
    Thank you very much in advance
    Chris

    Ah... I´m sorry! I use MUSE to do this.
    And is there a possibility to create a picture gallery only with thumbnails (maybe 5 or 6 in a line and column).
    And by clicking on the thubnail the picture will be bigger (zoom)? But without using the lightroom box?

  • Do not get full page when click on bookmarked entry

    when click on bookmarked item - only get part of a page not full page? Why? how do I get the full page from clicking on a bookmark?
    using firefox 4 on win 7 - 64bit
    last (old) firefox worked fine!!!

    How are you saving a new bookmark?
    There 5 ways to save a new Bookmark in Firefox, the first 4 should offer to save the new bookmark in a folder:
    1.
    2. Right-click and select Bookmark this Page.
    3. Bookmarks > Bookmark this Page
    4. Double-click the Star that is on the right side of the Location bar.
    4a. (A single-click on the Star will save the new Bookmark to the Unsorted Bookmarks folder, without opening the Edit this Bookmark dialog.)
    5. Drag the website image in the URL bar into the Sidebar view of Bookmarks
    or to the Bookmarks menu bar item and then into the drop-down or onto the Bookmarks Toolbar

  • Is there any function or way to get a text when clicked on a button

    Hi all,
    I need to get a file name when clicked on a button at user-command(just after the selection ends and the output came, there are some buttons on the screen).
    Any function, thanks.

    If you want user to supply a file name, you should popup a file selection dialog box. Depending on where the file might reside, use one of the following function modules.
    F4_FILENAME      
    F4_FILENAME_SERVER

  • Getting redirect notice when i click on an image in google image search. why? how do i stop this?

    for instance, a search for chris niemczyk gets me his pics but when i click on one, i get this page:
    The previous page is sending you to http://emfan18.tripod.com/niemczyk.htm.
    If you do not want to visit that page, you can return to the previous page.
    i just want it to go straight to the page or else i wouldn't have clicked on it in the first place. it's google. of course it's going to redirect me!

    OOOPS! sorry, am on the new imac, latest version of firefox and, um...anything that i need to add?

Maybe you are looking for

  • Sales BOM per customer

    This might be a strange question but still. We have a customer who ships out pallets and crates to their customers. They want to be able to track these items of course and bill the customers according to the number of items they received. N.B. these

  • Exception: Cannot read target memory. PL AXI slave ports access is not allowed

    Hi There, I am having some issues debugging with the SDK tool for a Vivado project.  I have no issues using the plan ahead version of the project, but when I try to use the SDK on  a project exported by Vivado, I am unable to read memory and get the

  • Locking Text to a screen position...

    Does anyone know where I can find a tutorial about how to lock one layer to another...meaning, if it's text over a handheld shot, the text moves with the shot. Short of keyframing each frame individually, (which doesn't look great) I'm not sure how t

  • NVIDIA 8800GT or  ATI Radeon X1900 XT

    Im in the market for a new graphics card form my Mac Pro. I was planning on the ATI but I now see there is a new Nvidia card so which would be the faster/better card to go with? I want the performance for use in Second Life as well as aperture. I can

  • Dependency Reporting

    I have a forms application which has been captured in the designer repository, I have run the dependency manager to generate the dependency information. My question is are there any reports that exist to allow impact analysis of these forms, based on