displaying a message

Results 1 to 2 of 2

Thread: displaying a message

  1. #1
    lokesh Guest

    Default displaying a message

    Displaying a message only once on the website,irrespective of the page visited by the user.And as soon as the user views the message then onwords i don&#039t want to show the message any more to him upon his visit to any page

  2. #2
    Ritesh Guest

    Default RE: displaying a message

    Store the message in a session variable and initialize it in the Session_OnStart() event.<BR><BR>session("sMessage")="Your message text here"<BR><BR>Then display it whereever you want like this:<BR>&#060;%<BR>response.write session("sMessage") <BR>session("sMessage") = null &#039this will set it to null and will never be shown again<BR>%&#062;

Posting Permissions

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