Re: passing a webdna variable into javascript/cgi

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44892
interpreted = N
texte = Oopps, seems some code I put into the email actually made the form parts as in an html email. Here it is again with stuff stripped out to avoid that . . . . sorry . . .================================Wondering if anyone into javascript and/or cgi can look at this . . .I'm trying to pass a valid [username] variable into a cgi script. This script then pops open a new window with a text chat within it.It's perfect for a certain application, and another solution might be more problematic so this one's being pursued. . .BUT . . . .I'm stuck passing the [username] that's pulled from a webdna database into the page that needs this [username] put into both javascript and the cgi parts ============After a successful login with webdna this link is created on a page:ChatroomThis works - BUT it completely bypasses the new popup window javascript form parts and just opens everything in the same browser window. The popup window is necessary for a clean logout and other reasons I won't go into here. The html code within the bluechat.cgi script is as follows . . . . $yourname
Welcome

Enter a name to use while chatting


Any possible suggestions would be appreciated . . .lester ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: passing a webdna variable into javascript/cgi (Lester Emo 2002)
  2. passing a webdna variable into javascript/cgi (Lester Emo 2002)
Oopps, seems some code I put into the email actually made the form parts as in an html email. Here it is again with stuff stripped out to avoid that . . . . sorry . . .================================Wondering if anyone into javascript and/or cgi can look at this . . .I'm trying to pass a valid [username] variable into a cgi script. This script then pops open a new window with a text chat within it.It's perfect for a certain application, and another solution might be more problematic so this one's being pursued. . .BUT . . . .I'm stuck passing the [username] that's pulled from a webdna database into the page that needs this [username] put into both javascript and the cgi parts ============After a successful login with webdna this link is created on a page:[username]>ChatroomThis works - BUT it completely bypasses the new popup window javascript form parts and just opens everything in the same browser window. The popup window is necessary for a clean logout and other reasons I won't go into here. The html code within the bluechat.cgi script is as follows . . . . $yourname
Welcome

Enter a name to use while chatting


Any possible suggestions would be appreciated . . .lester ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Lester Emo

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] WebDNA future (2010) Webcat causing crashes left and right! (1997) Lost and Recovered. (1998) PIXO (1997) [date format] w/in sendmail (1997) Test (2002) RE:It just Does't add up!!! (1997) Question (1997) Simple way to create unique SKU (1997) Part Html part WebDNA (1997) WebCat2: Master Counter snippet (1997) HTML (1999) Most Efficiant Way to do restricted Areas (1997) 2 databases (1998) Template Cache problem (2000) PSC recommends what date format yr 2000??? (1997) Prevent multiple appends with Reload Button (1997) Some Questions (1997) webcat2b12 CGI -- Date comparisons (1997) Where is f2? (1997)