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

  • SEARCH
  • Home
  • 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 3401932
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:04:34+00:00 2026-05-18T05:04:34+00:00

I have a Telerik Menu in usercontrol that located in aspx page, I need

  • 0

I have a Telerik Menu in usercontrol that located in aspx page, I need to generate menu based on logged in user.

So I need to bind datasource to the menu.
My web site gonna have more than 1000 users per day.
For preventing round trip requests, I generate the menu from session.
I use InProc session for that purpose and I keep the Sql Data in session.

The session object size for menu is about 40 bytes. So (1000 users) * (40 bytes ) =about 40K server’s memory.
I don’t have any other server for using StateServer Session.
And also I am going to use session for some other purposes too.

Is there any better solution for that cause the performance plays a key role for my scenario.
Or already I’ve chosen the best solution ?

  • 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-05-18T05:04:35+00:00Added an answer on May 18, 2026 at 5:04 am

    It doesn’t sound like you should have any problem doing it this way, but you may be interested in my answer to this question.

    Generally speaking, the session is a good place to cache data which:

    1. Is relatively small,
    2. Is expensive to obtain, and
    3. Doesn’t need to be used outside a given user’s session

    It sounds like you match at least the first two requirements above.

    One project I worked on had a need similar to the one you’re describing, but many users would end up with the exact same menu, and the generation of the menu itself was expensive, so I divided the problem into pieces, like this:

    • The user’s PersonId is stored on the session.
    • A MenuKeyRepository would get a list of the IDs of the menu item keys that need to appear for a given person ID, and return this list as a “MenuKey”.
    • A MenuRepository would generate the actual menu based on a given MenuKey.

    These two repositories used a sliding memory cache, so that in most cases both the menu key and the menu itself would already be constructed. If a new user logs in, but is supposed to see the same menu items as some other recent user, the first repository needs to construct their menu key, but the actual menu is already cached.

    I don’t know if this approach would make sense for you, but there it is, for what it’s worth.

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

Sidebar

Related Questions

I have a Telerik RadGrid on my aspx web page. I notice that when
I have a Telerik RadGrid that is bound to a Linq Datasource. On the
I have a TreeView with ContextMenu, and inside that menu I want to bind
I have a Telerik RadGrid. The initial DataSource that is bound to the grid
After deploying an MVC3 application that has Telerik Extensions menu, I have noted there
I have an ASP.NET application that renders a 3rd party (Telerik's) menu control under
I have just added a Telerik menu to my MVC application. I also have
I have a Telerik Grid which has a footer that needs to display column
I have a Telerik RadGrid with a GridTemplateColumn that contains a checkbox, as follows:
I have telerik grid on my page. But it working not correctly. Problem: when

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.