Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2012
    Posts
    11

    Unanswered: Is it possible to reload masterpage over and over again?

    Sorry I think I have posted in the wrong place. Please ignore this Thanks.
    I am doing a master page and i want the page to update itself when a new value comes in.
    Example, my master page default value has login and register (both are set as linkbutton)

    Login | Register

    Then in the login page, when the person successfully logged in to his/her account, master page update linkbutton login and register text will change to welcome john and logout.

    Welcome John | Logout

    Got such a way to do that?
    Thanks!
    Last edited by unknown80; 06-16-12 at 06:17.

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,475
    Provided Answers: 11
    Wrong forum

    What I would do is set a session variable once login then.

    At the top of the login screen befores the <HTML>

    If session("Id") ="" then
    Response.redirect("logout.asp")
    End if
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •