Session autmatically destroy after redirect from paypal accout to my site.

I am facing automatically session lost issue with firefox.
I have integrated paypal gateway in mysite. When redirect from payapal to mysite, session lost.
Its working correctly with google chrome.
Technology : Php (5.3)
Firefox version : 32.0

You can try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum.

Similar Messages

  • Session not closing after redirecting from BSP View

    Hi All,
    I am trying to redirect to a new application (WD ABAP) from an existing BSP View by using
    CALL METHOD runtime->server->response->redirect( url = lv_url1 ).
    The session still exists in SM04 after redirecting but I want the BSP session be closed.
    Any pointers to how this can be done??
    "navigation" global object is not recognized in the View it seems because I was thinking of using
    navigation->exit (url).
    navigation->response_complete().
    but it gave complie errors.
    Awaiting your suggestions..
    Thanks and Regards
    Avinash

    Please have a look at the BSP application SYSTEM => page => sessionexit.htm

  • Session not destroyed after restart

    Hi all,
    On my Application server 8.1_02 EE as well as 8.2 PE i have an application.
    The session is destroyed on log out... but after a successful restart of the application server, the session is kept active..
    Is this a normal behavior, or is there something that i must be aware of?
    Thanks,
    Scotty

    Hi Ronald,
      I once encountered a similar problem when calling a BSP application in a GUI HTML control. I used a copy of session_single_frame in my BSP application and it worked fine when I called the BSP application from SE80 or by entering the URL in the browser directly but I couldn' t get it to work in the HTML control.
    The solution then was to use an additional URL Parameter called sap-syscmd=NOCOOKIE. This tells the request handler on the Web AS to retrieve the session ID from the URL and not to use a cookie.
    Hope this helps,
    Andy

  • How to pass on variables while redirecting from BSP to HTML  page.

    Hi all,
    I have two BSP pages - BSP1, BSP2.  When I click a submit button on BSP1, it should call BSP2 wherein BSP2 will work silently behind the scenes and redirect some variable values through hidden form fields to BSP1 back. 
    User will not see BSP2 in fact.  He just deals with BSP1, but when he clicks the submit button on BSP1, it silently calls BSP2, and then BSP2 will process something behind the scenes and sends back values through hidden form fields to BSP1 by means of redirection. After redirection from BSP2 to BSP1, I am not getting the hidden fields in BSP1.  From the BSP1, I am trying to get the hidden fields of BSP1 using:
    Here is how my code in BSP2 (redirecting to BSP1) looks like:
    <b>BSP2 : Layout:</b>
    <input type="hidden" name="hf1" value="vicky">
    <b>BSP2 : OnInitialization:</b>
      response->redirect( url_BSP1 ).
      navigation->response_complete( ).
    But when I am doing this, the hidden form fields from BSP2 are not being passed to BSP1 back.
    I am trying to get the form values <b>in BSP1</b> as below:
    <b>BSP1 : Layout:</b>
       <%
       data:  hfield type string.
       hfield = request->get_form_field('hf1').
       %>
    I even tried the above code in onRequest, and onInitialization sections.  But I am getting nothing.
    Please give me some ideas on how to deal with the redirection and get the hidden values out of that.
    Thanks in advance.
    Cheers,
    Vicky.

    Hi,
    There are different ways to do it, but let's pick this one. It closes the popup. If you need additional things to be done, you can make a form with all hidden fields, submit that form, do the same close and do whatever you need in the inputprocessing
    <html>
      <head>
    <title>title</title>
          <script language="javascript">
              function init() {
              <%if count eq 1.%>
                  opener.document.form.F<%=field%>.value = '<%=value.%>';
              close();
             <%else.%>
          <%endif.%>
          </script>
      </head>
      <body onLoad="init();">
    </body>
    </html>

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • TS1424 Has anyone experienced problems, after purchasing an iTunes code from PayPal, in getting iTunes to deliver the code (electronically, as advertised?)

    Has anyone experienced problems, after purchasing an iTunes code from PayPal, in getting iTunes to deliver the code (electronically, as advertised?)

    Has anyone experienced problems, after purchasing an iTunes code from PayPal, in getting iTunes to deliver the code (electronically, as advertised?)

  • Using mail on Ipad only a blanc window will be displayed. after 10 sec this window disapears and the windows with appicons are displayd. redirecting from  safari to other mail adress works witout problems. Known Problem?

    Using mail on Ipad only a blanc window will be displayed. After 10 sec the window is automatically closed and the app icon will be displayed.
    Redirecting from  safari to other mail adress works witout problems. Known Problem?

    Try to force quit your mail app. Double tap the home button. You'll see the app icons and previews on the screen. Scroll sideways if needed to bring the mail app up on the screen. Flick the preview up and off the screen to close the app. Tap on the home screen preview to exit the mode.
    Try to open your mail again and see if it works.

  • Commit the transation after exti from session

    Hi All
    In oracle session I deleted 5 rows from emp table then I close the session using exit command without issusing commit or rollback command before exit command. Then I re-login on same user transation is commited.
    What is the reason and how to control it.
    Thanks,
    Santosh

    EXIT with no clauses commits and exits with a value of SUCCESS.
    See
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1009789

  • Unable to shutdown or restart after update from 10.5 to 10.6

    Hi,
    I'm getting nuts with this.
    After upgrading from 10.5 to 10.6 I'm unable to restart or shutdown.
    The system hangs on a blue screen with a spinning wheel. I did an
    update, not a clean install (that would be a horror trip with a re-
    install AND reconfiguration of 50+ apps and is not really a solution :-().
    I've read, that this problem occurs not very often but I'm not the
    only one, who has it. Via internet searches I tried a lot but - nope.
    I'm trying to find out, what causes the problem but nothing helped
    me out of this trap.
    I tried the following:
    - PRAM reset
    - System Management Controller (SMC) reset
    - disabled all StartUp Items
    - relocated the following folders to another location:
    /Library/Preferences
    /Users/myaccount/Library/Preferences
    - did all maintenance procedures with Cocktail (Snow Leopard Edition)
    - cleared all caches
    - ran scripts: daily, weekly, monthly etc.
    - took off all peripherals (USB, FireWire)
    - removed third party Extensions out of /System/Library/Extensions
    No success.
    When the system hangs, the console looks like this:
    ======================================================================
    22.02.10 12:35:03 loginwindow[61] DEAD_PROCESS: 61 console
    22.02.10 12:35:03 shutdown[296] reboot by josch:
    22.02.10 12:35:03 shutdown[296] SHUTDOWN_TIME: 1266838503 998729
    22.02.10 12:35:04 kernel systemShutdown true
    22.02.10 12:35:04 kernel systemShutdown true
    22.02.10 12:35:04 kernel Kext loading now disabled.
    22.02.10 12:35:04 kernel Kext unloading now disabled.
    22.02.10 12:35:04 kernel Kext autounloading now disabled.
    22.02.10 12:35:04 kernel Kernel requests now disabled.
    22.02.10 12:35:04 Parallels[298] Stopping Parallels Dispatcher Service
    22.02.10 12:35:04 sudo[313] root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 141
    22.02.10 12:35:04 Parallels[320] Stopping Parallels networking
    22.02.10 12:35:04 prl_naptd[158] Exiting Parallels Network Daemon
    22.02.10 12:35:06 Parallels[345] Unloading kernel extension prl_netbridge.kext
    22.02.10 12:35:07 kernel com.parallels.kext.prlnet 5.0.9220.531119 is unloading.
    22.02.10 12:35:07 kernel Kext unloading is disabled (com.parallels.kext.prl_netbridge).
    22.02.10 12:35:08 kernel Kext unloading is disabled (com.parallels.kext.prl_netbridge).
    22.02.10 12:35:08 Parallels[370] Failed to unload kernel extension prl_netbridge.kext
    22.02.10 12:35:08 Parallels[375] Unloading kernel extension prl_vnic.kext
    22.02.10 12:35:09 kernel Kext unloading is disabled (com.parallels.kext.prl_netbridge).
    22.02.10 12:35:09 kernel com.parallels.kext.vnic 5.0.9220.531119 is unloading.
    22.02.10 12:35:09 kernel comparallels_kext_prl_vnicbus: wait for detach for 0
    22.02.10 12:35:09 kernel comparallels_kext_prl_vnic_bus::detachhandler for 0
    22.02.10 12:35:09 kernel comparallels_kext_prl_vnicbus: detached 0
    22.02.10 12:35:09 kernel comparallels_kext_prlvnic: destroyed vnic0
    22.02.10 12:35:09 kernel comparallels_kext_prl_vnicbus: wait for detach for 1
    22.02.10 12:35:09 kernel comparallels_kext_prl_vnic_bus::detachhandler for 1
    22.02.10 12:35:09 kernel comparallels_kext_prl_vnicbus: detached 1
    22.02.10 12:35:09 kernel comparallels_kext_prlvnic: destroyed vnic1
    22.02.10 12:35:10 kernel Kext unloading is disabled (com.parallels.kext.prl_vnic).
    22.02.10 12:35:11 kernel Kext unloading is disabled (com.parallels.kext.prl_vnic).
    22.02.10 12:35:11 Parallels[401] Failed to unload kernel extension prl_vnic.kext
    22.02.10 12:35:11 mDNSResponder[60] mDNSResponder mDNSResponder-214.0.2 (Dec 15 2009 16:58:04) stopping
    22.02.10 12:35:11 WindowServer[99] hidd died. Reestablishing connection.
    22.02.10 12:35:11 WindowServer[99] bootstraplookip failed: Unknown service name
    22.02.10 12:35:11 com.apple.SecurityServer[56] Session 0x1d00010 dead
    22.02.10 12:35:11 com.apple.SecurityServer[56] Killing auth hosts
    22.02.10 12:35:11 com.apple.SecurityServer[56] Session 0x1d00010 destroyed
    22.02.10 12:35:12 kernel Kext unloading is disabled (com.parallels.kext.prl_vnic).
    ======================================================================
    I uninstalled Parallels Desktop too, but that did not the trick. Something
    else must cause this problem. I'm driving crazy %-/
    Anyone, who can help me out here? It's incredible and extremely annoying.
    thanks a lot in advance and regards,
    Josch

    Hi Barney,
    thanks a lot for your answer.
    No - the above console log was with Parallels installed. But that
    makes no difference. I did an uninstall and the problem still occurs.
    Now (after uninstall of Parallels) the console log looks like this:
    ======================================================================
    22.02.10 15:06:38 shutdown[245] reboot by josch:
    22.02.10 15:06:38 shutdown[245] SHUTDOWN_TIME: 1266847598 746983
    22.02.10 15:06:38 sudo[258] root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/kill -9 104
    22.02.10 15:06:38 mDNSResponder[50] mDNSResponder mDNSResponder-214.0.2 (Dec 15 2009 16:58:04) stopping
    22.02.10 15:06:38 mds[62] (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x10500d800>{storeID:0x6b000010 registered:NO private:NO age:NA uuid:8630389C-8A65-4D7E-80FC-8A10BD0B81EB machPort:0x0000591f}
    22.02.10 15:06:38 WindowServer[86] hidd died. Reestablishing connection.
    22.02.10 15:06:38 mds[62] (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x1035018c0>{storeID:0x6b000001 registered:NO private:NO age:NA uuid:C7AD4FB9-5E0D-47D8-97B2-DFA1EA057A5E machPort:0x00003a13}
    22.02.10 15:06:38 mds[62] (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x1034027e0>{storeID:0x6b000000 registered:NO private:NO age:NA uuid:8630389C-8A65-4D7E-80FC-8A10BD0B81EB machPort:0x00005413}
    22.02.10 15:06:38 mds[62] (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x10500d800>{storeID:0x6b000010 registered:NO private:NO age:NA uuid:8630389C-8A65-4D7E-80FC-8A10BD0B81EB machPort:0x0000591f}
    22.02.10 15:06:38 mds[62] (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x1035018c0>{storeID:0x6b000001 registered:NO private:NO age:NA uuid:C7AD4FB9-5E0D-47D8-97B2-DFA1EA057A5E machPort:0x00003a13}
    22.02.10 15:06:38 mds[62] (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x1034027e0>{storeID:0x6b000000 registered:NO private:NO age:NA uuid:8630389C-8A65-4D7E-80FC-8A10BD0B81EB machPort:0x00005413}
    22.02.10 15:06:38 WindowServer[86] bootstraplookip failed: Unknown service name
    22.02.10 15:06:39 kernel systemShutdown true
    22.02.10 15:06:39 kernel Kext loading now disabled.
    22.02.10 15:06:39 kernel Kext unloading now disabled.
    22.02.10 15:06:39 kernel Kext autounloading now disabled.
    22.02.10 15:06:39 kernel Kernel requests now disabled.
    22.02.10 15:06:39 com.apple.SecurityServer[51] Session 0x200061f dead
    22.02.10 15:06:39 com.apple.SecurityServer[51] Killing auth hosts
    22.02.10 15:06:39 com.apple.SecurityServer[51] Session 0x200061f destroyed
    ======================================================================
    and after the last line it seems to hang.
    A very strange thing. Hope someone can help.
    Kind regards,
    Josch

  • Receive data from PayPal

    Hello.
    Assuming that I send data into PayPal (with the use of  "HTML Variables for PayPal Payments Standard"):
    var variables:URLVariables = new URLVariables();
    variables.cmd = "_xclick";
    variables.business = "A8AJGG5PS2GKE";
    variables.upload = "1";
    variables.item_name = "some item";
    variables.amount = "123";
    variables.currency_code = "USD";
    variables.lc = "pl";
    variables.page_style = "PayPal";
    variables.return = "my site";
    variables.re = 2;
    variables.no_note = 1;
    variables.no_shipping = 1;
    variables.notify_url = "[email protected]";
    var request:URLRequest = new URLRequest("https://www.paypal.com/cgi-bin/webscr");
    request.method = URLRequestMethod.POST;
    request.data = variables;
    navigateToURL(request, "_blank");
    Does anyone managed to integrate PayPal IPN - "Instant Payment Notification"-
    (https://www.paypal.com/ipn/) with AS3 in order to receive data from PayPal?
    Could you please show any example of using it.

    My idea is as follow:
    1. .swf on you page sends variables into PayPal
    2. After finishing the payment on PayPal, the customer is auto-redirected to your page ("return" variable)
    3. Customer returns to your page. PayPal does NOT send any payment data there.
    Separately in the background, you receive a form POST from PayPal at a different URL (notify_url variable) - (here resides the php that I added below).
    4. You post back a form with cmd=_notify-validate and all fields you received from PayPal. PayPal responds with a single word VERIFIED or INVALID
    5. If you receive VERIFIED, you can process payment
    This method means that you can easily update for example your MySQL database but unfortunately you have to reload .swf file each time - and that's why it is not a perfect solution in my opinion;
    PS:
    - variables.return   and variables.notify_url must be absolute urls
    - notify_url must also allow anonymous access from outside of your network
    - firewall must be opened to host: notify.paypal.com
    - in your business PayPal account:
    Auto Return = Enabled in account profile
    PDT = Disabled in account profile
    IPN = Enabled in account profile
    - php file:
    <?php
    // read the post from PayPal system and add 'cmd'
    $req = 'cmd=' . urlencode('_notify-validate');
    foreach ($_POST as $key => $value) {
            $value = urlencode(stripslashes($value));
            $req .= "&$key=$value";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://www.paypal.com/cgi-bin/webscr');
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: www.paypal.com'));
    $res = curl_exec($ch);
    curl_close($ch);
    // assign posted variables to local variables
    $item_name = $_POST['item_name'];
    $item_number = $_POST['item_number'];
    $payment_status = $_POST['payment_status'];
    $payment_amount = $_POST['mc_gross'];
    $payment_currency = $_POST['mc_currency'];
    $txn_id = $_POST['txn_id'];
    $receiver_email = $_POST['receiver_email'];
    $payer_email = $_POST['payer_email'];
    if (strcmp ($res, "VERIFIED") == 0) {
            // process payment
    else if (strcmp ($res, "INVALID") == 0) {
            // log for manual investigation
    ?>

  • Ensuring items are removed when session is destroyed

    I have a Spring 2.5 MVC application with the ACEGI security framework on top of that. This application allows the user to upload many files and then "publish" them as a whole. I need to ensure that these files are deleted if the following happens:
    1. The user clicks cancel (done, processCancel)
    2. The session expires (trying HttpSessionListener)
    3. The user navigates away from the page (This can probably fall under session expiration)
    4. The user closes the browser(This can probably fall under session expiration)
    Currently I implement the HttpSessionListener. I am not getting the same ID on sessionDetroyed that I am getting on sessionCreated. I'm assuming either the session is already destroyed before that event fires. Also, the sessionDestroyed event does not fire when I close the Firefox browser, but it does when I close Internet Explorer.
    I was thinking that I can put a static reference to a map of files that need deleted on session expiration in the listener, but I'm still not sure how to link the session ID to the files or the username of the currently logged in user. Basically I need to verify that the files I am deleting do not belong to a user who is still logged in. Is there a better way to do this?

    hoffmandirt wrote:
    Currently I implement the HttpSessionListener. I am not getting the same ID on sessionDetroyed that I am getting on sessionCreated. I'm assuming either the session is already destroyed before that event fires. The sessionDestroyed event occurs after the session is taken out of commission but before it is invalidated. Every session gets destroyed and will have this sessionDestroyed event called. If you are using sessionEvent.getSession().getID() that will be the ID of the session about to be invalidated. It is hard to say why you are getting different sessions, but my guess is that you get the sessionID early in your app and somewhere you force a new session to be created and you are mixing the two sessions here. Some code may help figure this out. The second session would eventually expire, though, after the session timeout occurs.
    Also, the sessionDestroyed event does not fire when I close the Firefox browser, but it does when I close Internet Explorer.Sessions are not destroyed when a browser closes. They are destroyed when you explicitly call a session.invalidate() or when the session times out. If you waited whatever period of time your session is set to timeout after you close the browser, that is when the sessionDestroyed method would be called.
    >
    I was thinking that I can put a static reference to a map of files that need deleted on session expiration in the listener, but I'm still not sure how to link the session ID to the files or the username of the currently logged in user. Basically I need to verify that the files I am deleting do not belong to a user who is still logged in. Is there a better way to do this?I personally don't like the static resource thing. It gets confusing when you start to worry about class loaders and is too easy to flub. Better would be a map stored in the application context that both your main application has access to and the HttpSessionListener (via the HttpSession object) has access to. But I would also think about wrapping the references to the file in a 'SessionFile' object which would implement HttpSessionBindingListener and would delete itself when the valueUnbound event occurs. So the file would be deleted when the session ends as well as when you simply delete it from the session. No need for an external map in the context/static scope, or an HttpSessionListener running in the background.
    public class SessionFile implements HttpBindingListener {
        private final File file;
        private boolean fileInSession = false;
        public SessionFile(File file) { this.file = file; }
        public File getFile() {
            if (!fileInSession) {
                throw new IllegalStateException("Can not access File.  It is no longer stored in session.");
            return this.file; }
        public void valueBound(HttpSessionBindingEvent event) {
            this.fileInSession = true;
            /* any special action when added to the session? */
        public void valueUnbound(HttpSessionBindingEvent event) {
            this.fileInSession = false;
            // delete the file here
    }

  • Code after redirect (or forward)

    Suppose that I redirect from a servlet to a jsp and I want that some code of the servlet is executed after the jsp presentation, how can I do this?
    response.sendRedirect("/jsp/onejsp.jsp");
    code_to_execute_after_jsp_presentation();
    The problem is that the jsp is called after all the code of the servlet is executed.
    There is a solution to this problem?
    Thanks
    Luciano

    Hi,
    I saw several of your messages that talk about "sendRedirect". I have the same problem. I have 2 JSP pages, but they are in two different location (JVM). I would like to send some session Attributes (using session.setAttribute from source JSP) to the target JSP. Therefore it can be read as session attribute also it will not show user what is the Parameter and details (if you send Parameter using "?CustomerID=<%= CustomerID %>" then user can see the info by viewing the source).
    If you know the answer already, can you let me know?

  • When a session is destroyed

    I am trying to use SessionListener Class. When I open the site the method "sessionCreated" is called. But when I close the window it seems that "sessionDestroyed" is not called.
    I am confused that when actually a sesion is destroyed.

    Hi!
    When U close the browser-window on the client-side, nothing happens to the session on the server side.
    There are 2 situations when a session is destroyed:
    - a session may have a time out, that means after a specified time of inactivity from the client the server destroys the session (this will happen when U close the browser-window. Not at the moment of closing but from then on there will be no more activity and then the time will run down. This time can be set within the deployment-descriptor (web.xml) for example.
    - you call the method session.invalidate(). (This is what the server does when session times out too). Maybe this is done in a logout-servlet or alike.
    Hope this answers your question.
    Thomas.

  • Session Time Out and Redirect to login page - urgent

    My problem is I want to display alert message and redirect to the home page when session expires.
    Iam using TimeOutListener in my application as follows.
    public PhaseId getPhaseId() {
    return PhaseId.ANY_PHASE;
    public void beforePhase(PhaseEvent phaseEvent) {
         FacesContext facesContext = phaseEvent.getFacesContext();
    HttpSession sessionx = (HttpSession)facesContext.getExternalContext().getSession(false);
    if(sessionx == null) {
         FacesUtils.sessionCheck = true;
    String ampee = (String)((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getAttribute("ampee");
    if(ampee != null && ampee.equals("ampee")) FacesUtils.sessionCheck = false;
    if(phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE) {
         if(FacesUtils.sessionCheck){
         facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, "", "sessionExpired" );
         FacesUtils.sessionCheck = false;
    ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
              HttpServletRequest request = (HttpServletRequest) externalContext.getRequest();
              HttpSession session = request.getSession();
              if (session.isNew()) {
                   try {
                   String errorPageURL = externalContext.getRequestContextPath() +
                   "/index.jsf?errorpage=true";
                   externalContext.redirect(errorPageURL);
                   }catch(Exception e){
                        e.printStackTrace();
    here i have appended param errorPage=true...
    in jsp page i have used following code to get the param<% if(request.getParameter(errorPage)!=null && request.getParameter(errorPage).equals("true")){%>
    <script>alert("session expired");</script>
    <%
    %>
    Can any one help me how to Implement this?
    Do u know another way pls let me know...

    Consider using the Javascript setTimeout() function in conjunction with HttpSession#getMaxInactiveInterval(). The HttpSession#getMaxInactiveInterval() returns the remaining seconds of the session lifetime.
    Basic example:<script>
        setTimeout("alert('The session will timeout after one minute.')", <%= (session.getMaxInactiveInterval() * 1000) - 60000 %>);
    </script>I've given the client one minute (60000ms) extra time space to respond accordingly.
    Use this in combination with the following head:
    <meta http-equiv="refresh" content="<%= session.getMaxInactiveInterval() %>;url=login.jsf">which will redirect to login.jsf if the session is timed out. You can also redirect to another page of your taste, e.g. error.jsf or so.

  • How to redirect from list edit form to another page using jquery in sharepoint 2013

    hi friends i have been trying to find a way to redirect from list edit form to another page using javascript and jquery
    i found lot of codes online but non of them are working for me.
    what i need is i have to save the data in the form and after that it has to redirect to another page. it has to get the url from hyperlink field of the item.
    please help me in this regards

    Not sure if you have gone through below links:
    http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPRedirectWithID
    http://blogs.askcts.com/2013/02/18/using-spservices-and-jquery-to-perform-a-redirect-from-a-sharepoint-list-newform-to-editform/
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

Maybe you are looking for