<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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/"><channel><title>Search results matching tag 'Session'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Session&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Session'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Can session be used like this</title><link>http://forums.asp.net/thread/3585486.aspx</link><pubDate>Mon, 28 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3585486</guid><dc:creator>Rizwan328</dc:creator><description>&lt;p&gt;Solution given by &lt;strong&gt;nimish_soft&amp;nbsp;&lt;/strong&gt; sounds good.&amp;nbsp; if you wants to use text of both columns as a combined string then its not good practice to use multiple sessions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;simple use as:&lt;/p&gt;
&lt;p&gt;Dim A as string = String.Empty&lt;/p&gt;
&lt;p&gt;A = row.cells(1).text + row.cells(2).text + .......etc&lt;/p&gt;
&lt;p&gt;Session(&amp;quot;Test&amp;quot;) = A&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you need this value on another page then session is fine otherwise use ViewState&lt;/p&gt;</description></item><item><title>Session</title><link>http://forums.asp.net/thread/3571069.aspx</link><pubDate>Thu, 17 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3571069</guid><dc:creator>chandra2ravi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;how to set unlimited time in &lt;b&gt;session&lt;/b&gt;. any possibility?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Ravi.&lt;/p&gt;</description></item><item><title>Disapearing controls</title><link>http://forums.asp.net/thread/3569717.aspx</link><pubDate>Wed, 16 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3569717</guid><dc:creator>Mon</dc:creator><description>&lt;p&gt;I am using member profile,&amp;nbsp;retriving user data from database and populating grids.&amp;nbsp;&amp;nbsp;&amp;nbsp;I am running into problem when I select a row or different page from the gridview. The grid view disapears...&lt;/p&gt;
&lt;p&gt;If user = manager&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display dropdownlist for sub catagories&lt;br /&gt;on select, populate gridview&lt;br /&gt;if user = non-manager&lt;br /&gt;&amp;nbsp;dispaly gridview&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am passing the values using the session, in the manager selection the dropdown list work but when row or page is selected from the gridview the gridview disappears, thus starting the proccess from dropdown list again.&amp;nbsp; I suppose there is postback problem and retainging the values.&lt;/p&gt;
&lt;p&gt;any idea how I can reslove this would be greatly appreciated&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Web Site .NET C# for mobile - Error in session ?</title><link>http://forums.asp.net/thread/3563662.aspx</link><pubDate>Mon, 14 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3563662</guid><dc:creator>meliweb</dc:creator><description>&lt;p&gt;Thanks for your answer, but I&amp;#39;m a bit surprised. Why would Microsoft add &amp;quot;Mobile Page&amp;quot; in their templates in Visual Studio if it&amp;#39;s working better with usual .aspx pages ?&lt;/p&gt;
&lt;p&gt;Except for the sessions variables, the application is working fine. I might send variables threw pages instead of sessions variables if really I can&amp;#39;t to anything else. The login page with an autentification cookie is working fine, the variable is not lost when using the mode &amp;quot;StateServer&amp;quot;.&lt;/p&gt;</description></item><item><title>Session Variables and IE8</title><link>http://forums.asp.net/thread/3558565.aspx</link><pubDate>Thu, 10 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3558565</guid><dc:creator>isheahan</dc:creator><description>&lt;p&gt;I have a shopping cart that redirects to paypal for payment finalization. Paypal (as you may already be famililar with) has a &amp;#39;return&amp;#39; and &amp;#39;cancel_return&amp;#39; URL parameter you can set to it. If the payment gets canceled on Paypal&amp;#39;s side, I&amp;#39;d like to use the &amp;#39;cancel_return&amp;#39; parameter to return my client to CanceledPayment.aspx and use a session variable to look up their order and finalize the canceling of the order (i.e., put the product back on the shelf and make it available to others to purchase). My products in my store are unique, so when a&amp;nbsp;user places it in their cart, I change the ProductStatus from &amp;#39;Available&amp;#39; to&amp;nbsp;&amp;#39;Pending Purchase&amp;#39;, and if the sale is successful, Paypal will return my client to ThankYou.aspx where I then want to use that same session variable to change the&amp;nbsp;ProductStatus to &amp;#39;Item Sold&amp;#39; and then&amp;nbsp;record their purchase history in their account and also allow them the opportunity to download a .pdf relevant to their product they purchased.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, I&amp;#39;ve thought of using Paypal&amp;#39;s &amp;#39;cancel_return&amp;#39; URL to pass a string like this: &amp;#39;http://&amp;lt;site.com&amp;gt;/CanceledPayment.aspx&amp;amp;var=someKindOfVariableFromASessionVar&amp;#39; but apparently the Paypal &amp;#39;cancel_return&amp;#39; parameter doesn&amp;#39;t like to see querystrings on those; it fails to process the payment.&lt;/p&gt;
&lt;p&gt;So, because &amp;quot;IE8 blocks crossdomain cookies by default (from Paypal it’s cross domain)&amp;quot;, I&amp;#39;m not sure where to go now as most general users update their systems and probably don&amp;#39;t even know if they&amp;#39;re using IE8 or 7.&lt;/p&gt;
&lt;p&gt;Any help or suggestions? I&amp;#39;d love to hear that there is a way to fix this without making the end user adjust some setting. Doesn&amp;#39;t really make for a very good cross browser compatible solution.&lt;/p&gt;</description></item><item><title>Re: pass checked checkbox values to another page</title><link>http://forums.asp.net/thread/3546208.aspx</link><pubDate>Thu, 03 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3546208</guid><dc:creator>mkamoski</dc:creator><description>&lt;p&gt;Niv --&lt;/p&gt;
&lt;p&gt;Please consider using Session.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the 1st page...&lt;/p&gt;
&lt;p&gt;Make a CSV list out of the selections.&lt;/p&gt;
&lt;p&gt;Set&amp;nbsp;the CSV list in Session before Redirect.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the 2nd page...&lt;/p&gt;
&lt;p&gt;Get the CSV list from Session.&lt;/p&gt;
&lt;p&gt;Do your work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;HTH.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;-- Mark Kamoski&lt;/p&gt;</description></item><item><title>Re: New book: Ultra-Fast ASP.NET</title><link>http://forums.asp.net/thread/3537905.aspx</link><pubDate>Sun, 29 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3537905</guid><dc:creator>Doggy8088</dc:creator><description>&lt;p&gt;If I have two servers that each have 4 Core CPU and 8GB Memory, is it a good practice that install 4 SQLEXPRESS instances and one database per instance for each server?&lt;/p&gt;</description></item><item><title>Session management and concurrent accesses</title><link>http://forums.asp.net/thread/3537594.aspx</link><pubDate>Sat, 28 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3537594</guid><dc:creator>aneasytorememberid</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If there are 2 users accessing my website from 2 different browsers and if the aspx page contains session variable say Session(&amp;quot;username&amp;quot;), will they have two separate copies of Session(&amp;quot;username&amp;quot;) or will there be single copy?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Session problem in IE8...</title><link>http://forums.asp.net/thread/3535736.aspx</link><pubDate>Fri, 27 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3535736</guid><dc:creator>ankit_sood007</dc:creator><description>&lt;p&gt;My Web Application looses session value in &lt;strong&gt;IE8&lt;/strong&gt;...&lt;/p&gt;
&lt;p&gt;It&amp;#39;s working fine in all the other browsers...&lt;/p&gt;
&lt;p&gt;Is it a &lt;strong&gt;Bug&lt;/strong&gt; in &lt;strong&gt;IE8&lt;/strong&gt;...??&lt;br /&gt;If Yes, What should i do...??&lt;/p&gt;
&lt;p&gt;Thanx in advance, its urgent...&amp;nbsp;&lt;/p&gt;</description></item><item><title>Session Variables Inside C# Class</title><link>http://forums.asp.net/thread/3524166.aspx</link><pubDate>Fri, 20 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524166</guid><dc:creator>vfarmak</dc:creator><description>&lt;p&gt;Hi Everyone!&lt;/p&gt;&lt;p&gt;I am experiencing the following problem: in my Global.asax file in the Session_Start method i have added a Session Variable named &amp;quot;AppCulture&amp;quot;, just like the code listed below:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;    void Session_Start(object sender, EventArgs e) 
    {
        // Code that runs when a new session is started
        Session.Add(&amp;quot;AppCulture&amp;quot;, &amp;quot;el-GR&amp;quot;);
    }&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; In my Class Method I have a function, in which i want to check the session&amp;#39;s variable value. In order to do that i use the following statement, as listed in the code below: &lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;public static string CustomMethod()
        {
            string lang = HttpContext.Current.Session[&amp;quot;AppCulture&amp;quot;].ToString();
            if (lang.Equals(&amp;quot;el-GR&amp;quot;))
            {
                return &amp;quot;Ελληνικά&amp;quot;;
            }
            else
            {
                return &amp;quot;English&amp;quot;;
            }
        }&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; I use this method inside an EventHandler (file with .ashx extension), in order to fill dropdownlist values with javascript. Although i have initialized my session variable in the Session_Start section of the Global.asax file. The specific Session Variable inside the Class evaluates to null. Does anyone know other alternative in order to check session variables inside class code?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanx Bill&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>