Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2005, 01:33 AM
Authorized User
 
Join Date: Feb 2005
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kumarop
Default redirect basic

Dear Sir,

     I want to send an email too apart from other event , the moment some error appears on page.here what I am doing is redirection with querystring value,but in this case other events is obviously ignored as cursor goes to redirected page.Please advice how to tackle this problem My aim is before execution of these code -

alert('Connection Problem... Pls. Try after some time... ');
window.open('<%=session("login_url")%>?mesg=C','_s elf',null,false) ;

One email also should be sent.



2) Also please write steps for searching all my post,Previously i used to search with userbame criteria ,but now it is not working.

Regards

om prakash



Code:
<%
     dim conn
     set conn= server.createobject("ADODB.Connection")
  conn.ConnectionString = Session("eproc_ConnectionString1")
  on error resume next
  conn.open
  if err.number <> 0 then
     Response.Redirect "https://10.12.4.137/[email protected]&[email protected]&IsSubmitted=y&vsubject=error message&vmessage="&err.description

%>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<form>

</form>
  <script language="javascript"> 
   alert('Connection Problem... Pls.Try after some time... ');
   window.open('<%=session("login_url")%>?mesg=C','_self',null,false) ;
   </script>
<%
  else

.......

om prakash kumar
__________________
om prakash kumar





Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect SKhna ASP.NET 2.0 Basics 1 February 9th, 2008 08:14 AM
Automatic Redirect tna55 ASP.NET 2.0 Basics 2 April 4th, 2007 07:32 AM
Redirect To New Page Ben Horne Flash (all versions) 2 March 26th, 2004 04:24 PM
header redirect dazednconfused Beginning PHP 5 September 9th, 2003 01:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.