<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Update: InfoPath browserenabled forms; modifying query-parameters programatically?</title><link>https://www.infopathdev.com:443/forums/thread/44993.aspx</link><pubDate>Mon, 27 Jul 2009 12:48:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44993</guid><dc:creator>andreas.hagen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=44993</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Another reason for us to do i this way is that we could present the user with several choices for what to do next:&lt;/p&gt;&lt;p&gt;&amp;nbsp;1. Finish and logout (redirect to logout url, which in turn redirects to the main site of the portal)&lt;/p&gt;&lt;p&gt;&amp;nbsp;2. Go to homepage (go to main site of the portal without loggin out and start other tasks)&lt;/p&gt;&lt;p&gt;&amp;nbsp;3. Open another form (i.e. open another related form without logging out of the SSO-session)&lt;/p&gt;&lt;p&gt;&amp;nbsp;This could not be done without the ability to change the Source-parameter programatically or do some other form of redirecting the user to custom aspx-pages with redirect rules. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>InfoPath browserenabled forms; modifying query-parameters programatically?</title><link>https://www.infopathdev.com:443/forums/thread/44991.aspx</link><pubDate>Mon, 27 Jul 2009 12:37:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44991</guid><dc:creator>andreas.hagen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44991.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=44991</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;span&gt;I’m hosting InfoPath 2007 forms in Sharepoint with Form 
Services (browser enabled forms).&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;I want to modify the Source parameter programmatically 
to enable redirecting to custom pages instead of the hosting site of the form. I 
want to do this &lt;i&gt;&lt;b&gt;without&lt;/b&gt;&lt;/i&gt; specifying the Source-parameter in the url 
used to open the form (we are redirecting users from an SSO-portal 
(SingleSignOn) &lt;span&gt;&amp;nbsp;&lt;/span&gt;and the URL used by this portal does not specify 
the Source parameter and is difficult to change). &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;1.&lt;span style="font-family:&amp;#39;Times New Roman&amp;#39;;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-size-adjust:none;font-stretch:normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Is this possible (if so how) or do I have to specify 
the Source-parameter in the url when the form is opened?&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="text-indent:-18pt;"&gt;&lt;span&gt;&lt;span&gt;2.&lt;span style="font-family:&amp;#39;Times New Roman&amp;#39;;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-size-adjust:none;font-stretch:normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;If NO; Are there any other robust way to redirect 
users programatically to another website or aspx redirect page within the 
site&lt;/span&gt;?&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;The Source parameter could typically be on the form 
&amp;amp;Source=http://myserver/_layouts/MyCustomRedirectPage.aspx 
&lt;span&gt;&amp;nbsp;&lt;/span&gt;(form hosted in “rootsite”).&lt;/span&gt; &lt;br /&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;I&amp;#39;ve attempted several approaches for (2), i.e. 
&lt;/span&gt;&lt;span&gt;HttpContext.Current.Response.Redirect(“http://myserver/_layouts/MyCustomRedirectPage.aspx”) 
without any success.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;Any help is appreciated!&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>