[Webtest] FWD: FWD: Response.Redirect not passing parameters

Sophie De Malet Roquefort Sophie De Malet Roquefort <sdemaletroquefort@datadiscoveries.com>
Tue, 12 Jul 2011 14:29:21 +0100


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> P, UL, OL, DL, DIR, MENU, PRE { margin: 0 auto;}</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19088"></HEAD>
<BODY leftMargin=1 rightMargin=1 topMargin=1><FONT size=2 face=Tahoma>
<DIV><BR><BR><BR></DIV></FONT>
<DIV style="FONT-FAMILY: Tahoma; FONT-SIZE: x-small">
<DIV>----------------------- <B>Forwarded Message</B> -----------------------</DIV>
<DIV>&nbsp;&nbsp;</DIV>
<DIV><B>From:</B>&nbsp;Sophie De Malet Roquefort <A href="mailto:sdemaletroquefort@datadiscoveries.com"><FONT color=#0000ff>&lt;sdemaletroquefort@datadiscoveries.com&gt;</FONT></A></DIV>
<DIV><B>To:</B>&nbsp;<A href="mailto:weblist@lists.canoo.com"><FONT color=#0000ff>&lt;weblist@lists.canoo.com&gt;</FONT></A></DIV>
<DIV><B>Cc:</B>&nbsp;</DIV>
<DIV><B>Date:</B>&nbsp;Tue, 12 Jul 2011 14:12:47 +0100</DIV>
<DIV><B>Subject:&nbsp;<U>FWD: Response.Redirect not passing parameters</U></B></DIV>
<DIV>&nbsp;&nbsp;</DIV></DIV><FONT size=2 face=Tahoma>
<DIV>Hello, </DIV>
<DIV>&nbsp;</DIV>
<DIV>Following up from my initial problem, it looks as though the response.redirect is working but any parameters that I pass with it are being lost.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have tried a number of things.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Initially I was using the profile to store&nbsp;values and then picking up those values when the page was reloaded.</DIV>
<DIV>&nbsp;</DIV>
<DIV>i.e. in my web.config</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Tahoma>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;profile&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;properties&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;group name="User"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add name="ClientId" defaultValue="-1" type="int"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add name="ImportId" defaultValue="-1" type="int"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/group&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/properties&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/profile&gt;</FONT></DIV>
<P><FONT size=2 face=Tahoma></FONT>&nbsp;</P>
<P><FONT size=2 face=Tahoma>Because I couldn't get this to work, I then started to pass the value (importId) as a parameter on the redirect.</FONT></P>
<P>&nbsp;</P>
<P>I have set a brakpoint in the cs code:</P>
<P>&nbsp;</P>
<P><FONT size=2 face=Tahoma>When I run the code from the standard browser, the&nbsp;correct parameter is being picked up.</FONT></P>
<P><FONT size=2 face=Tahoma></FONT>&nbsp;</P>
<P><FONT size=2 face=Tahoma>When I run the code from the webtest, the parameter is not being picked up at all.</FONT></P>
<P><FONT size=2 face=Tahoma></FONT>&nbsp;</P>
<P><FONT size=2 face=Tahoma>Can anyone help please.</FONT></P>
<P><FONT size=2 face=Tahoma></FONT>&nbsp;</P>
<P><FONT size=2 face=Tahoma>Thanks,</FONT></P>
<P><FONT size=2 face=Tahoma></FONT>&nbsp;</P>
<P><FONT size=2 face=Tahoma>Sophie</P>
<DIV><BR></FONT><BR><BR><BR></DIV></FONT>
<DIV style="FONT-FAMILY: Tahoma; FONT-SIZE: x-small">
<DIV>----------------------- <B>Forwarded Message</B> -----------------------</DIV>
<DIV>&nbsp;&nbsp;</DIV>
<DIV><B>From:</B>&nbsp;Sophie De Malet Roquefort <A href="mailto:sdemaletroquefort@datadiscoveries.com"><FONT color=#0000ff>&lt;sdemaletroquefort@datadiscoveries.com&gt;</FONT></A></DIV>
<DIV><B>To:</B>&nbsp;<A href="mailto:weblist@lists.canoo.com"><FONT color=#0000ff>&lt;weblist@lists.canoo.com&gt;</FONT></A></DIV>
<DIV><B>Cc:</B>&nbsp;</DIV>
<DIV><B>Date:</B>&nbsp;Tue, 12 Jul 2011 09:13:52 +0100</DIV>
<DIV><B>Subject:&nbsp;<U>Response.Redirect not loading new page</U></B></DIV>
<DIV>&nbsp;&nbsp;</DIV></DIV><FONT size=2>
<P align=left><FONT face=Tahoma>Hi&nbsp;there,<FONT face=Tahoma><FONT face=Tahoma></FONT></P>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma>
<DIV>I am calling a Response.Redirect to load another page and this page does not appear to be loading.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma></FONT></DIV>
<DIV><FONT face=Tahoma>Does anyone know of any known issues with canoo webtest and Response.Redirect?</FONT></DIV></FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV></FONT></FONT>
<DIV><FONT face=Tahoma>Kind regards<BR>Sophie</FONT></DIV>
<DIV><FONT face=Tahoma><BR>&nbsp;</DIV></FONT>
<DIV><FONT face=Tahoma>Sophie De Malet Roquefort</FONT></DIV>
<DIV><FONT face=Tahoma>IT Department<BR>0131 555 1100</FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>T: 0131 555 1100<BR>F: 0131 555 6300<BR>W: </FONT><A href="http://www.datadiscoveries.com"><FONT face=Tahoma>www.datadiscoveries.com</FONT></A></DIV>
<DIV><A href="http://www.datadiscoveries.com"><FONT face=Tahoma></FONT></A></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><IMG alt="Data Discoveries Logo" src="http://www.datadiscoveries.com/assets/pages/DD_logo_small.gif"></FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV>
<P><FONT size=2 face=Tahoma>
<P>Want to know more about data management? <A href="http://www.datadiscoveries.com/forms/whitepaper/whitepaper_bank/">Download a whitepaper</A></P></FONT><BR><FONT size=2 face=Tahoma>
<P>Do you work in the non-profit sector? Come to our <A href="http://www.datadiscoveries.com/industries/charities/best_practice_marketing_forum/">free event.</A></P></FONT>
<P></P></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma>Please let me know if this e-mail address is not the best one to use. </FONT></DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma>This e-mail is intended for the named addressee only. Its contents are private and confidential and should not be read, copied or disclosed to or by any other person. If you have received this transmission in error, please notify the sender immediately by e-mail or telephone (0131 555 1100), delete the contents of this transmission and destroy any copies made. Copyright Data Discoveries Limited. All rights reserved. No part of this communication may be reproduced without the prior written permission of Data Discoveries Limited.</FONT></DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma>Opinions, conclusions and other information in this message that do not relate to the official business of Data Discoveries Limited shall be understood as neither given nor endorsed by it. Internet e-mails are not necessarily secure. Data Discoveries Limited does not accept responsibility for changes made to this message after it was sent or viruses transmitted through this e-mail or any attachment. You should carry out your own virus checking procedure before opening any attachment to this e-mail. The e-mail and IT systems of Data Discoveries Limited are subject to random monitoring and recording by or on behalf of Data Discoveries Limited. </FONT></DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma>Thank you.</FONT></DIV>
<DIV><FONT color=#808080 size=1 face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT color=#808080 size=1>Data Discoveries Limited: Registered in Scotland with Registered Number SC157375. <BR>Registered Office: 16/1 Timber Bush Edinburgh EH6 6QH. VAT Registration Number: GB 663 8176 09.<BR>Member of the Direct Marketing Association.</FONT> </FONT></DIV>
<DIV><BR><FONT face=Tahoma>&nbsp;</FONT></DIV></FONT></BODY></HTML>