Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7948191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:39:08+00:00 2026-06-04T01:39:08+00:00

Searched, but couldn’t find a good answer. I have an ASP.NET application that I

  • 0

Searched, but couldn’t find a good answer.

I have an ASP.NET application that I am developing. I’m using session variables within the app.

In Firefox & Chrome, they all work.
But in IE (ver 9), there’s one variable that’s not working. I’m not sure if it’s a storage or a retrieval (or both) at this point. The variable in question that I’m storing is a List(T) type. It’s the only one of it’s kind that I’m using. Can’t help but think there’s a correlation there.

One other old post mentioned the possibility that cache is causing the problem, but I didn’t understand the answer very well.

P.S. If possible, please post any code samples in VB. Sometimes I can read the C# and translate it, and sometimes not.

Dim Rec_IDs As New List(Of String)
Rec_IDs = Session("Rec_IDs")
and
       Dim Rec_IDs As New List(Of String)
        Dim Rec_ID As Int32
        Rec_IDs = Session("Rec_IDs")
        For Each Row As GridViewRow In gvParts.Rows
            If CType(Row.FindControl("chkSelect"), CheckBox).Checked Then
                Rec_ID = gvParts.DataKeys(Row.RowIndex).Value
                If Not Rec_IDs.Contains(Rec_ID) Then
                    Rec_IDs.Add(Rec_ID)
                End If
                CType(Row.FindControl("chkSelect"), CheckBox).Checked = False
            End If
        Next
Session("Rec_IDs") = Rec_IDs
lblCount.Text = String.Format("You have {0} records selected", Rec_IDs.Count.ToString)

Other answer: Session Variable not working in Internet Explorer, but works fine in Firefox / Chrome

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:39:11+00:00Added an answer on June 4, 2026 at 1:39 am

    First check your cookies are enabled or not in your browser. If the cookies are blocked that will be the problem with IE

    Also have a look at

    Cookieless ASP.NET,
    ASP.NET State Management Overview,Difference between browser session and asp.net session

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched for an answer but couldn't find it anywhere. My question is
I searched StackOverflow but couldn't find the answer to this question. Suppose I have
I searched for the answer to this question but couldn't find any good. Maybe
I have searched everywhere but I couldn't find my answer, is there a way
What is stack unwinding? Searched through but couldn't find enlightening answer!
I've searched within the site, but couldn't find my answer.. I'd like to start
Hy there I searched a lot on google, but couldn't find an answer. Maybe
I searched everywhere but I couldn't find an answer for my problem. I play
I searched through internet but couldn't find a satisfactory answer about Metro UI ,
I have searched the web but couldn't find any detailed idea about Native OS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.