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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:56:50+00:00 2026-05-26T04:56:50+00:00

I dunno whether I described my question well but I’m trying to send some

  • 0

I dunno whether I described my question well but I’m trying to send some element to other page either with a hyperlink or a Response.Redirect() and it’s a key which make some access to the DB so I don’t want to send it via url and get it. what should I do? thanks.

  • 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-26T04:56:50+00:00Added an answer on May 26, 2026 at 4:56 am

    You can store it in session, or you could use some type of encoding and pass it in the QueryString.

    Another option would be to store the value in ViewState and use Server.Transfer to direct the user to the other page. With Server.Transfer you’ll still be able to access the ViewState from the other page like this:

    private string ValueFromOtherPage
    {
        get
        {
            if (ViewState["value"] != null)
            {
                return ViewState["value"].ToString();
            }
            else
            {
                string value;
                if (Context.Handler != null)
                {
                    value = (Context.Handler as PreviousPageName).MyStoredValue;
                    ViewState["value"] = value;
                }
                return value;
            }
        }
    }
    

    Take a look at this article for encoding/encrypting the QueryString:
    http://www.codeproject.com/KB/web-security/QueryStringEncryptionNET.aspx

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

Sidebar

Related Questions

i dunno if the question is already ask, but i couldn't find it... i'm
Hai am trying to access the aspx variable.But i can't to do this.I dunno
I dunno guys, this is a really weird one, but I might just be
Alright, this might be simple but I dunno how to do it! I have
I dunno exactly but i think \s*\d* is something like string + int and
I dunno why, but first pixel (left bottom) is loaded correctly, but the others
I dunno if its right to post a similar question to a previously closed
i dunno where is the problem exactly, but it seems when i pass 'Memory'
I got some problem with the linked list I've written. I dunno if it's
Search several blogs about it but always are same examples. I dunno if misunderstood

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.