ASP:Querystring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vijeberal
    New Member
    • Mar 2008
    • 9

    ASP:Querystring

    Hi
    I am passing some values in querystring for next page. Eventually it is showing in address bar of that page. Is there any way to change that string once again....
    Thanks in Advance
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Originally posted by vijeberal
    Hi
    I am passing some values in querystring for next page. Eventually it is showing in address bar of that page. Is there any way to change that string once again....
    Thanks in Advance
    I suggest you read the Posting Guidelines on how to write a better post. I got that you are using a querystring and want to change it, but its the 864 possibilities after that... More info please. Thanks.

    MODERATOR

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      By definition the querystring goes in the address bar. If you don't want that, pass your varriables by one of the other methods.

      Comment

      • vijeberal
        New Member
        • Mar 2008
        • 9

        #4
        Originally posted by kenobewan
        I suggest you read the Posting Guidelines on how to write a better post. I got that you are using a querystring and want to change it, but its the 864 possibilities after that... More info please. Thanks.

        MODERATOR
        Actually i m new in ASp.Net so some lack of technical terms you can expect from me ..... i m trying to clarify the doubts.... i am passing some integer variable to the next page through querystring ... i cant pass those variable through sessions or cookies i have to pass those values through querystring .... i dont want to show those values to user ... but my application is showing in address bar ... is there any way to prevent that problem???.. you can give me more than one solution ..... sorry for inconvenience

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #5
          By definition, querystring values are going to be visible to the user. Unless you can run your whole application in a popup window that has "location=0 " as part of its attributes, the user will always see the querystring. Session is really your only option for hiding these values.

          Originally posted by vijeberal
          Actually i m new in ASp.Net so some lack of technical terms you can expect from me ..... i m trying to clarify the doubts.... i am passing some integer variable to the next page through querystring ... i cant pass those variable through sessions or cookies i have to pass those values through querystring .... i dont want to show those values to user ... but my application is showing in address bar ... is there any way to prevent that problem???.. you can give me more than one solution ..... sorry for inconvenience

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            You could attempt to do a POST (form submit) like in the olden days of html.

            EDIT: As an after thought, you might be able to look up URL re-writing and see if that can help you?

            Comment

            Working...