A Real Toughy

Results 1 to 2 of 2

Thread: A Real Toughy

  1. #1
    keithadler@hotmail.com Guest

    Default A Real Toughy

    I&#039m trying to create a alert/msgbox type function that occurs when I set a session variable name Message to something. This alert/msgbox should only open once whenever an asp page comes up. I thought it would be simple but this is escaping me. I thought something like this at the top of a page would work:<BR><BR>&#060;%<BR><BR>If Session("Message")&#060;&#062;"" then<BR> <BR> Response.Write "&#060;script language=vbscript&#062;Msgbox """ & Session("Message") & """&#060;/script&#062;"<BR> Session("Message")="" &#039 Clears the previous message<BR><BR>End If<BR><BR>%&#062;<BR><BR>Any ideas? Please e-mail me at keithadler@hotmail.com also.<BR><BR>Thank you,<BR><BR>Keith Adler

  2. #2
    keithadler@hotmail.com Guest

    Default RE: A Real Toughy

    I figured it out ... the above code works, but only when you put it beyond the head tag.<BR><BR>Thanks.

Posting Permissions

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