Hello,
       I have a CSpHref associated with a custom NDEvent. On click of the Href I 
need to do some activity on the Appserver and then need to launch a 
new browser window with an external URL and the original window should remain 
without change. The external URL is dynamically generated on the AppServer after
the user clicks the link. (ie. the original page does not have any clue about the
 external URL)
      The following code does go to the external URL, but it happens on the original
window. I need to launch it on a new window.

public int href_onWebEvent(CSpWebEvent event)
{
        int command = PROCEED;
        CSpHttp.reset();
        CSpHttp.setAutoMode(false);             
        CSpHttp.setHttpStatus(302);
        CSpHttp.write("Location:http://www.javasoft.com");
        CSpHttp.write("\n\n");
        return(command);
}

 Any input is appreciated.

Thanks.
S.Senthil Kumar

_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to