<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>Classic ASP</title><link>http://forums.iis.net/1032.aspx</link><description>Problems with Classic ASP (*.asp) applications discussion</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Session loosing after response.redirect</title><link>http://forums.iis.net/thread/1909558.aspx</link><pubDate>Wed, 08 Jul 2009 07:12:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909558</guid><dc:creator>salman_arshad</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909558.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1909558</wfw:commentRss><description>&lt;p&gt;You should not be loosing sessions after using Response.Redirect.&lt;/p&gt;&lt;p&gt;On the other hand, you should not expect to see sessions if you are redirecting from one website to another or from one IIS application to another.&lt;/p&gt;&lt;p&gt;A possible gotcha: Note that redirecting user from http://domain.com to http://www.domain.com also means that you will loose session. Well, you do not actually &lt;i&gt;&lt;b&gt;loose&lt;/b&gt;&lt;/i&gt; them; session variables initiated on http://domain.com will still be accessible from http://domain.com if at some point you send the user back from http://www.domain.com to http://domain.com (provided that the session has not timed out).&lt;/p&gt;</description></item><item><title>Re: Session loosing after response.redirect</title><link>http://forums.iis.net/thread/1907215.aspx</link><pubDate>Tue, 16 Jun 2009 14:02:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907215</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907215.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1907215</wfw:commentRss><description>&lt;p&gt;What do you mean by virtual?&lt;br /&gt;&lt;a href="http://blogs.iis.net/tomkmvp/archive/2008/12/11/what-is-virtual.aspx"&gt;http://blogs.iis.net/tomkmvp/archive/2008/12/11/what-is-virtual.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All folders &lt;strong&gt;&lt;em&gt;must&lt;/em&gt;&lt;/strong&gt; be within the same application scope or you will lose session vars.&lt;/p&gt;</description></item><item><title>Re: Session loosing after response.redirect</title><link>http://forums.iis.net/thread/1907119.aspx</link><pubDate>Tue, 16 Jun 2009 01:32:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907119</guid><dc:creator>akane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907119.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1907119</wfw:commentRss><description>&lt;p&gt;Dear Sir,&lt;/p&gt;
&lt;p&gt;Thank you for your hints. &lt;/p&gt;
&lt;p&gt;It&amp;#39;s within the same application but before that i use &lt;a href="http://www.example.com/folder/"&gt;http://www.example.com/folder/&lt;/a&gt;......&amp;nbsp; another page i didn&amp;#39;t include the folder. Mean 1 is virtual directory &amp;amp; another 1 is not virtual that&amp;#39;s why caused my session loosing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Micheale&lt;/p&gt;</description></item><item><title>Re: Session loosing after response.redirect</title><link>http://forums.iis.net/thread/1907040.aspx</link><pubDate>Mon, 15 Jun 2009 14:56:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907040</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907040.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1907040</wfw:commentRss><description>&lt;p&gt;You should not be loosing the session as long as you&amp;#39;re redirecting within the same application.&amp;nbsp; Please give more details ...&lt;/p&gt;</description></item><item><title>Session loosing after response.redirect</title><link>http://forums.iis.net/thread/1906977.aspx</link><pubDate>Mon, 15 Jun 2009 07:50:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906977</guid><dc:creator>akane</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1906977.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1032&amp;PostID=1906977</wfw:commentRss><description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone have idea on how to avoid the session loosing after response.redirect in classic asp.&lt;/p&gt;
&lt;p&gt;I saw asp.net, the solution is&amp;nbsp; &lt;strike&gt;response.redirect(&amp;quot;urlhere&amp;quot;)&lt;/strike&gt; -&amp;gt; response.redirect(&amp;quot;urlhere&amp;quot;,false)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please advise.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Michelle&lt;/p&gt;</description></item></channel></rss>