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 8775189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:44:38+00:00 2026-06-13T18:44:38+00:00

I done project in ASP.net MVC3. In my project i create a session as

  • 0

I done project in ASP.net MVC3. In my project i create a session as follows in Home Controller

if (Session["ulclass"] == null)
     {
                    Session["ulclass"] = "list";
     }

I use this session to my Product List page.. as a class for div tag as follows..

<div id="listheading" class="listHead" @if (Session["ulclass"].ToString() == "grid")
                                       {
                                           <text>style = "display:none;";</text>
                                       }>

When i copy this Productlist URL from FireFox to Chrome…
session value not come.. it produce the error…

Can any one help this ?

  • 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-13T18:44:39+00:00Added an answer on June 13, 2026 at 6:44 pm

    You can use cookieless sessions. That way the session id is sent in the URL instead of a cookie, so then you could just copy the URL anywhere and you are still in the same session.

    Put this in web.config:

    <sessionState cookieless="true" />
    

    (The drawback is of course that anyone can copy the URL anywhere and still be in your session…)

    More about cookieless session: http://msdn.microsoft.com/en-us/library/aa479314.aspx

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

Sidebar

Related Questions

First off let me say this is my first ASP.NET project I have done.
when I was building my project done in ASP.NET and C#, it produced the
I have a project that needs to be done using ASP.NET. Currently, I'm using
I've never really done any charting or graphing in asp.net, but my current project
I am working on a school project that uses ASP.NET. I found this TextEditor
I have done hands full of project with AspNetSqlMembershipProvider. Now, I have asp.net website
I am completely new to ASP.Net MVC. I just created an MVC3 project in
I am trying to make a WebForms project and ASP.NET MVC per this question
in my ASP.NET MVC3 Project, I've got an action which runs a certain amount
If you go to this website, http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/intro-to-aspnet-mvc-3 , you can see a tutorial where

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.