PostBack Issue

Discussion in 'ASP .Net' started by =?Utf-8?B?TWFjaGk=?=, Apr 18, 2004.

  1. i want to maintain the value of a particular variable during postBack, i choose to use Label by invisible it or using hidden field , however, the value of the variable which i want to maintain its value (sensitive value) actually do not allow to be viewed by using viewsource in browser, can i achieve this by using hidden field, label or other controls? Some suggested using static variable, but besides that, any other suggestion on this? Thank you so much ...
    =?Utf-8?B?TWFjaGk=?=, Apr 18, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?TWFjaGk=?=

    Guest Guest

    A Session Variable would be your safest bet if it needs to stay on the
    server side.
    You could also encrypt it using a 2-way encryption method and then let it be
    stored in the viewstate.

    Sessions method is alot quicker with less overhead

    Hope this helps. Posting is provided as is


    "Machi" <> wrote in message
    news:...
    >i want to maintain the value of a particular variable during postBack, i
    >choose to use Label by invisible it or using hidden field , however, the
    >value of the variable which i want to maintain its value (sensitive value)
    >actually do not allow to be viewed by using viewsource in browser, can i
    >achieve this by using hidden field, label or other controls? Some suggested
    >using static variable, but besides that, any other suggestion on this?
    >Thank you so much ...
    Guest, Apr 18, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Psych971
    Replies:
    5
    Views:
    4,610
    bruce barker
    Dec 17, 2004
  2. =?Utf-8?B?Q2hhZA==?=

    Postback not being set to True on first postback

    =?Utf-8?B?Q2hhZA==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    494
    =?Utf-8?B?Q2hhZA==?=
    Apr 4, 2005
  3. gce
    Replies:
    2
    Views:
    1,709
  4. Jacky Chau
    Replies:
    2
    Views:
    2,045
    Ninjamyst
    Jun 8, 2005
  5. Fabio Mastria
    Replies:
    5
    Views:
    4,345
    TechMCAD13
    Jan 30, 2008
Loading...

Share This Page