Asp code in Dreamweaver

How do I make this code work in Dreamweaver?
I need help badly.
<%
' Declare variables
Dim strURL ' The URL of this page
Dim cnnSearch ' ADO connection
Dim rstSearch ' ADO recordset
Dim strSQL ' The SQL Query we build on the fly
Dim strSearch ' The text being searched for
Dim arrTerms ' An array of the terms in the search query
Dim strOperator ' Are we using AND or OR
Dim I ' Looping var
' Retreive the URL of this page from Server Variables
strURL = Request.ServerVariables("URL")
' Retreive the list of terms being searched for.
strSearch = Request.QueryString("search")
' FIgure out if the user requested an "AND" which only
returns
' results which match all terms or an "OR" which returns
results
' which match any term.
If LCase(Request.QueryString("operator")) = "and" Then
strOperator = "AND"
Else
strOperator = "OR"
End If
%>
<p>Search our sample db by first or last name. (%
returns all)</p>
<form action="<%= strURL %>" method="get">
<input name="search" value="<%= strSearch %>" />
<select name="operator">
<option value="or" <% If strOperator="OR" Then
Response.Write(" selected=""selected""")%>>Any
Term</option>
<option value="and"<% If strOperator="AND" Then
Response.Write(" selected=""selected""")%>>All
Terms</option>
</select>
<input type="submit" />
</form>
<p>[Try 'er in' for an example]</p>
<%
If strSearch <> "" Then
' Create an ADO Connection to connect to the sample
database.
Set cnnSearch = Server.CreateObject("ADODB.Connection")
' This line is for the Access sample database:
'cnnSearch.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" & Server.MapPath("database.mdb") & ";"
' We're actually using SQL Server so we use this line
instead:
cnnSearch.Open "Provider=SQLOLEDB;Data Source=10.2.2.133;" _
& "Initial Catalog=samples;User
Id=samples;Password=password;" _
& "Connect Timeout=15;Network Library=dbmssocn;"
' Double up single quotes
strSearch = Replace(strSearch, "'", "''")
' Split search phrase into individual terms
arrTerms = Split(strSearch, " ")
' Build our query based on the input.
strSQL = "SELECT last_name, first_name, sales FROM [sample]
WHERE "
' Loop over terms including each one.
For I = LBound(arrTerms) to UBound(arrTerms)
' I'm searching both first and last name fields so
' I need to do both for each search term.
strSQL = strSQL & "( last_name LIKE '%" &
arrTerms(I) & "%'"
strSQL = strSQL & " OR first_name LIKE '%" &
arrTerms(I) & "%')"
' Use the appropriate operator to combine the individual
search terms
If I < UBound(arrTerms) Then
strSQL = strSQL & " " & strOperator & " "
End If
Next 'I
' Order by last_name
strSQL = strSQL & " ORDER BY last_name;"
'Response.Write strSQL
' Execute the query
Set rstSearch = cnnSearch.Execute(strSQL)
' Display the results
%>
<table border="1">
<tr>
<th>Name</th>
<th>Sales</th>
</tr>
<%
Do While Not rstSearch.EOF
%>
<tr>
<td><%= rstSearch.Fields("first_name").Value %>
<%= rstSearch.Fields("last_name").Value %></td>
<td><%= rstSearch.Fields("sales").Value
%></td>
</tr>
<%
rstSearch.MoveNext
Loop
%>
</table>
<%
' Close our recordset and connection and dispose of the
objects
rstSearch.Close
Set rstSearch = Nothing
cnnSearch.Close
Set cnnSearch = Nothing
End If
%>

dont try and use DW not worth the paper its writhen on all
people can do on this forum is just quote u not help you, try and
use crimson editor or 1st page 2000 to edit your asp code cause you
wont do it in DW
hahahahahahahahahahahahahahah DW this software is
funny

Similar Messages

  • Sql injection attack - need help changing ASP code

    Our web server was attacked yesterday by SQL injection. So I
    quickly learned about the holes in the code that was generated by
    Dreamweaver MX 2004.
    I found the help article on the Adobe website to fix the ASP
    code; however I need more information for my particular case. I
    don't know how to get my cursor type and location settings into the
    new code.
    MY ORIGINAL CODE
    <%
    Dim Recordset1
    Dim Recordset1_numRows
    Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    Recordset1.ActiveConnection = MM_Oncology_STRING
    Recordset1.Source = "SELECT * FROM dbo.Oncology_Dir WHERE
    Oncology_ID = " + Replace(Recordset1__MMColParam, "'", "''") + ""
    Recordset1.CursorType = 0
    Recordset1.CursorLocation = 3
    Recordset1.LockType = 1
    Recordset1.Open()
    Recordset1_numRows = 0
    %>
    THE NEW CODE, WHICH NEEDS TO BE FIXED TO REFLECT CURSOR TYPE
    AND LOCATION ABOVE.
    <%
    Dim Recordset1
    Dim Recordset1_cmd
    Dim Recordset1_numRows
    Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
    Recordset1_cmd.ActiveConnection = MM_Oncology_STRING
    Recordset1_cmd.CommandText = "SELECT * FROM dbo.Oncology_Dir
    WHERE Oncology_ID = ?"
    Recordset1_cmd.Prepared = true
    Recordset1_cmd.Parameters.Append
    Recordset1_cmd.CreateParameter("param1", 5, 1, -1,
    Recordset1__MMColParam) ' adDouble
    Set Recordset1 = Recordset1_cmd.Execute
    Recordset1_numRows = 0
    %>
    What exactly is the 5,1,-1 in the code above?
    Any help would be very much appreciated as my ASP page
    (although secured from SQL injection) is not working properly.
    Thanks,
    --Jen
    --Jen

    The new snippet is not vulnerable to SQL injection. It uses a
    command
    object and actual defined parameters, so you're safe. You
    cannot change the
    cursor type or location on that object.
    "jennday" <[email protected]> wrote in
    message
    news:f85omh$ngg$[email protected]..
    > Our web server was attacked yesterday by SQL injection.
    So I quickly
    > learned
    > about the holes in the code that was generated by
    Dreamweaver MX 2004.
    > I found the help article on the Adobe website to fix the
    ASP code; however
    > I
    > need more information for my particular case. I don't
    know how to get my
    > cursor type and location settings into the new code.

  • Crystal report run from ASP code significantly slower than when run in CRS

    We have CRS XI R2.  I developed a report that contains several on-demand sub-reports.  The report and sub-reports are very fast when run directly from CRS.  However, when I run from ASP (users run a link from the intranet), it takes 4 times longer (1 second on CRS, vs. 5-10 seconds on intranet).  The report takes longer, bringing up a sub-report takes longer and paging through sub-reports take longer.  What can be done to improve the speed of the report that is using the ASP code?  I used a sample program provided at this support site to develop the report and it is pretty basic code.  The only time I have a problem is when I have many sub-reports.  Since they are on-demand, I do not know why this would matter.

    This has been created as an incident with SAP support.  Things that you will want to check is making sure that you handle the postback to the code as you do not need to run your entire code on every postback.  This will help performance after the original load. 
    One other thing is to compare performance with the viewer within Infoview that uses the same backend server as your application, ie PSReportFactory uses the page server, so you'll want to test with the DHTML viewer.  RAS code (reportclientdocument) uses the Report Application Server so you will want to test with the Advanced DHTML viewer.

  • How to create a asp page in dreamweaver cc 2014

    How in the hec do I create an asp page in Dreamweaver CC.
    I installed the database, server behaviors.  I can create a PHP page and add database connections for that type but not Asp?
    Help anyone?
    Thanks Traci

    Create a new HTML document.
    Go to File > SaveAs > filename.asp
    Nancy O.

  • How to change Crystal Reports XI database name at run time from ASP code using ADO

    Dear All,
    I need advises regarding to my problem below
    I have two database in same SQL 2005 SERVER for TEST01 and LIVE01 Environtment, and I've created more than 100 reports with Crystal Reports 11 and call it from ASP classic page.
    The problem is how can I change a database from TEST01 to LIVE01 at the run time from ASP code as I already using TEST01 database on Crystal Reports and I do not want to set a new database location inside crystal for each reports
    Thanks and wait for your reply soon.
    Below is my code, which has no effect to crystal reports although I've change the database from TEST01 to LIVE01:
    <%
    Dim oADOConnection, oRptTable, oADORecordset, sql
    Dim struser, strpwd, strdriver, dblocation, dbname, strConnect
    struser = "sa"
    strpwd = ""     
    strdriver = "{SQL SERVER}" 
    dblocation = "SQL200501"     
    dbname = "LIVE01"    ' Changed from TEST01 to LIVE01
    strConnect = "User Id=" & strUser & ";"
    strConnect = strConnect & "PWD=" & strPwd & ";"
    strConnect = strConnect & "DRIVER=" & StrDriver & ";"
    strConnect = strConnect & "SERVER=" & DBLocation & ";"
    strConnect = strConnect & "DATABASE=" & dbName
    sql="Select * from Employee"
    Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
    Set session("oRpt") = session("oApp").OpenReport("C:\REPORTS\RPT01.RPT", 1) 'USING TEST01 DATABASE
    session("oRpt").MorePrintEngineErrorMessages = False
    session("oRpt").EnableParameterPrompting = False
    session("oRpt").DiscardSavedData
    Set oADOConnection = Server.CreateObject("ADODB.Connection")
    oADOConnection.Open (strConnect)
    Set oADORecordset = Server.CreateObject("ADODB.Recordset")
    Set oRptTable = session("oRpt").Database.Tables.Item(1)
    oRptTable.SetDataSource oADORecordset, 3
    session("oRpt").SQLQueryString = CStr(sql)
    session("oRpt").ReadRecords
    %>

    Did you ever find a solution to this problem?  I have the same problem when moving reports from development to Test to Production environments.  If the DBName is not the same the report ignores the name provided at runtime.

  • How do I edit my Android Apps Code in dreamweaver? As well I can't find any of the App options that I keep hearing about in my cloud based Dreamweaver.....

    I already have an app that I paid someone to make but I needed to make some changes to the code and wanted to do it in Dreamweaver. How is it best to load my code into Dreamweaver, navigate through it, and find the code I need to change? As well my version of Dreamweaver ( It the new Cloud based ) doesn't have any of the App features. Do I need to load it differently or something?

    It really depends on how the app was developed and loaded.  DW can help with web interfaces and some parts of the app development, but depending on the complexity and language of the app you may need additional tools like Xcode (Apple) in order to modify the app.

  • Flash code into Dreamweaver - Help please!

    I am using GoDaddy for my hosting account. It is on a linux
    server. I have created an HTML page and loaded it up to the
    internet using Dreamweaver, like I normally do. the page in
    question is
    http://www.desmoinesbilliards.com/gallery.html
    When I use dreamweaver to insert the flash movie, it
    transfers it as normal, but it will not show up on the website. The
    flash movie works fine on the server, just cannot be seen on the
    site. I called Go Daddy who said that there is a problem with the
    way the code is calling up the Flash movie. I have not altered it
    at all from the way that Dream weaver inserts it. The flash movie
    is located in a folder on the site called 'flash'. The code is
    below. I can't figure it out, any help would be appreciated. The
    code that dreamweaver inserts is below. By the way, I use
    Professional 8 version of both products.

    Upload the scripts folder that DW places in your local site
    when you insert
    Flash on a page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JesseDSM" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am using GoDaddy for my hosting account. It is on a
    linux server. I
    >have
    > created an HTML page and loaded it up to the internet
    using Dreamweaver,
    > like I
    > normally do. the page in question is
    >
    http://www.desmoinesbilliards.com/gallery.html
    When I use dreamweaver to
    > insert
    > the flash movie, it transfers it as normal, but it will
    not show up on the
    > website. The flash movie works fine on the server, just
    cannot be seen on
    > the
    > site. I called Go Daddy who said that there is a problem
    with the way the
    > code
    > is calling up the Flash movie. I have not altered it at
    all from the way
    > that
    > Dream weaver inserts it. The flash movie is located in a
    folder on the
    > site
    > called 'flash'. The code is below. I can't figure it
    out, any help would
    > be
    > appreciated. The code that dreamweaver inserts is below.
    By the way, I
    > use
    > Professional 8 version of both products. <script
    type='text/javascript'>
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=7,0,19,0','width','730','height','80','src','flash/leaguebanner','qualit
    > y','high','pluginspage','
    http://www.macromedia.com/go/getflashplayer','movie','f
    > lash/leaguebanner' ); //end AC code
    </script><noscript><object
    > classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
    > codebase='
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0' width='730' height='80'> <param
    name='movie'
    > value='flash/leaguebanner.swf' /> <param
    name='quality' value='high'
    > />
    > <embed src='flash/leaguebanner.swf' quality='high'
    > pluginspage='
    http://www.macromedia.com/go/getflashplayer'
    > type='application/x-shockwave-flash' width='730'
    height='80'></embed>
    > </object>
    >
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=7,0,19,0','width','730','height','80','src','flash/leaguebanner','qualit
    > y','high','pluginspage','
    http://www.macromedia.com/go/getflashplayer','movie','f
    > lash/leaguebanner' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="730" height="80">
    > <param name="movie" value="flash/leaguebanner.swf"
    />
    > <param name="quality" value="high" />
    > <embed src="flash/leaguebanner.swf" quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="730"
    height="80"></embed>
    > </object>
    >

  • Newbie to JSP, Need to convert some ASP code to work for JSP

    Can I get some aid in converting the following ASP code to work using JSP. I have never used JSP before but I now need to because of a recent server change.
    <%
    DIM URL
    URL = LCase(Request.ServerVariables("URL"))
    if InStr(URL, "/about/") then
    %>
    <p>About Test</p>
    <% elseif InStr(URL, "/menu/") then %>
    <p>Menu Test</p>
    <% elseif InStr(URL, "/contact/") then %>
    <p>Contact Test</p>
    <% else %>
    <p>Test</p>
    <% End if %>Thanks in advance
    Ned

    Can I get some aid in converting the following ASP
    code to work using JSP. I have never used JSP before
    but I now need to because of a recent server change.
    <%
    DIM URL
    URL = LCase(Request.ServerVariables("URL"))
    if InStr(URL, "/about/") then
    %>
    <p>About Test</p>
    <% elseif InStr(URL, "/menu/") then %>
    <p>Menu Test</p>
    <% elseif InStr(URL, "/contact/") then %>
    <p>Contact Test</p>
    <% else %>
    <p>Test</p>
    <% End if %>Thanks in advance
    Ned<%
    String sURL = request.getRequestURL();
    if (sURL.indexOf("//about//") > 1) {
    %>
    <p>About Test</p>
    <%
    } else if (sURL.indexOf("//menu//") > 1) {
    %>
    <p>Menu Test</p>
    <%
    } else if ......
    %>
    I wont do the other cases. Im sure you can figure it out. Hope it helps!

  • How to disable refresh every time I write code in dreamweaver

    Hi....how to disable refresh every time I write code in dreamweaver...thank very much.

    Hi.......every time I write code or content on the web, from interfce code, I get a message on the bottom of the program, with a button that says "refresh"... please look the attach picture .... thanks for helping me ....

  • Can use asp code in xsl page?

    hello,
    i want to know can i use asp code in xsl page ..if so, please let me know.
    thz
    nway nge

    Hi,
    now we have the tinyMCE editor, where you can insert and edit html-code. It works fine now for the layout,
    but there are still a few problems with the links..
    In the edit mode there are displayed all km images out of the km. But the images aren't displayed under the portal role, when i publish the page. And all the links like one to a wiki or the TBN links doesn't work, too.
    Can anybody help me further?
    Thanks in advance,
    Lydia

  • Can't select code in Dreamweaver cs6

    Hi,
    I can't select html code in Dreamweaver CS6. Instead a line appears with a small square at the top and bottom. What is this, and how do I turn it off?  I've searched in the forums and the only suggestion that I found was to check whether I am using a template, but that isn't the case. This is occuring on existing and newly created files.  I have the view set to Designer with split view.
    Thanks

    Not sure what you mean by a line with a small square at the top and bottom. This is normal when you select anything in code view:
    When you click one of the boxes, it collapses the code like this:
    To expand the code, click the box next to the line number.
    If that's not the problem, please describe what's happening in more detail.

  • Classic ASP support in Dreamweaver CC missing

    The prime reason why I bought CC is for a website that requires Classic ASP support. (I am returning back to Dreamweave after 8 years), to my surprise, I found ASP is not in the list, Nor ASP.NET.
    This is very BAD.
    Before cancelling my CC subscription, I like to give one last try to post my request here.
    Is there any way I can gain ASP support in Dreamweaver CC?
    Thanks,
    Benny

    Moved from Cloud forum to Dreamweaver forum
    See http://forums.adobe.com/thread/1236507

  • Applying Template change wipe out ASP codes

    Using WINXP Pro / IIS5.1 / DW8.01
    This is a new problem for me since upgrading to DW8.01.
    Starting with an HTML templated webpage, I can successfully create
    an ASP logon webpage. However, whenever I update the site with a
    change made to the template, the ASP code gets wiped from the ASP
    logon page - everything else successfullly is updated - but I lose
    the ASP code above the Header tag. Here is a before and after
    template-update code sample:
    BEFORE - ASP code is successfully added to my
    template-created page:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/eocdb.asp" -->
    <%
    ' *** Validate request to log in to this site.
    MM_LoginAction = Request.ServerVariables("URL")
    If Request.QueryString<>"" Then MM_LoginAction =
    MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
    MM_valUsername=CStr(Request.Form("Username"))
    If MM_valUsername <> "" Then
    MM_fldUserAuthorization=""
    MM_redirectLoginSuccess="eoa_limited.asp"
    MM_redirectLoginFailed="access_error.html"
    MM_flag="ADODB.Recordset"
    set MM_rsUser = Server.CreateObject(MM_flag)
    MM_rsUser.ActiveConnection = MM_eocdb_STRING
    MM_rsUser.Source = "SELECT Username, Password"
    If MM_fldUserAuthorization <> "" Then MM_rsUser.Source
    = MM_rsUser.Source & "," & MM_fldUserAuthorization
    MM_rsUser.Source = MM_rsUser.Source & " FROM tblAccess
    WHERE Username='" & Replace(MM_valUsername,"'","''") &"'
    AND Password='" & Replace(Request.Form("Password"),"'","''")
    MM_rsUser.CursorType = 0
    MM_rsUser.CursorLocation = 2
    MM_rsUser.LockType = 3
    MM_rsUser.Open
    If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
    ' username and password match - this is a valid user
    Session("MM_Username") = MM_valUsername
    If (MM_fldUserAuthorization <> "") Then
    Session("MM_UserAuthorization") =
    CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
    Else
    Session("MM_UserAuthorization") = ""
    End If
    if CStr(Request.QueryString("accessdenied")) <> "" And
    false Then
    MM_redirectLoginSuccess =
    Request.QueryString("accessdenied")
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginSuccess)
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginFailed)
    End If
    %>
    <!-- InstanceBegin template="Templates/site_template.dwt"
    codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <head>
    AFTER I update via the template:
    <!-- InstanceBegin template="Templates/site_template.dwt"
    codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <head>
    The ASP code is stripped away. Do I need to change one of my
    preferences since the 8.01 update? I do not have this problem using
    PHP or JSP - only ASP. Any ideas? Resources I should review?

    Show me the first 10 lines of the template file, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "holymackeral" <[email protected]> wrote in
    message
    news:[email protected]...
    > Using WINXP Pro / IIS5.1 / DW8.01
    > This is a new problem for me since upgrading to DW8.01.
    Starting with an
    > HTML
    > templated webpage, I can successfully create an ASP
    logon webpage.
    > However,
    > whenever I update the site with a change made to the
    template, the ASP
    > code
    > gets wiped from the ASP logon page - everything else
    successfullly is
    > updated -
    > but I lose the ASP code above the Header tag. Here is a
    before and after
    > template-update code sample:
    >
    > BEFORE - ASP code is successfully added to my
    template-created page:
    > <%@LANGUAGE="VBSCRIPT"%>
    > <!--#include file="Connections/eocdb.asp" -->
    > <%
    > ' *** Validate request to log in to this site.
    > MM_LoginAction = Request.ServerVariables("URL")
    > If Request.QueryString<>"" Then MM_LoginAction =
    MM_LoginAction + "?" +
    > Server.HTMLEncode(Request.QueryString)
    > MM_valUsername=CStr(Request.Form("Username"))
    > If MM_valUsername <> "" Then
    > MM_fldUserAuthorization=""
    > MM_redirectLoginSuccess="eoa_limited.asp"
    > MM_redirectLoginFailed="access_error.html"
    > MM_flag="ADODB.Recordset"
    > set MM_rsUser = Server.CreateObject(MM_flag)
    > MM_rsUser.ActiveConnection = MM_eocdb_STRING
    > MM_rsUser.Source = "SELECT Username, Password"
    > If MM_fldUserAuthorization <> "" Then
    MM_rsUser.Source =
    > MM_rsUser.Source &
    > "," & MM_fldUserAuthorization
    > MM_rsUser.Source = MM_rsUser.Source & " FROM
    tblAccess WHERE Username='"
    > &
    > Replace(MM_valUsername,"'","''") &"' AND Password='"
    > Replace(Request.Form("Password"),"'","''") & "'"
    > MM_rsUser.CursorType = 0
    > MM_rsUser.CursorLocation = 2
    > MM_rsUser.LockType = 3
    > MM_rsUser.Open
    > If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
    > ' username and password match - this is a valid user
    > Session("MM_Username") = MM_valUsername
    > If (MM_fldUserAuthorization <> "") Then
    > Session("MM_UserAuthorization") =
    >
    CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
    > Else
    > Session("MM_UserAuthorization") = ""
    > End If
    > if CStr(Request.QueryString("accessdenied")) <> ""
    And false Then
    > MM_redirectLoginSuccess =
    Request.QueryString("accessdenied")
    > End If
    > MM_rsUser.Close
    > Response.Redirect(MM_redirectLoginSuccess)
    > End If
    > MM_rsUser.Close
    > Response.Redirect(MM_redirectLoginFailed)
    > End If
    > %>
    > <!-- InstanceBegin
    template="Templates/site_template.dwt"
    > codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML
    PUBLIC "-//W3C//DTD HTML
    > 4.01
    > Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <head>
    > ...
    >
    > AFTER I update via the template:
    > <!-- InstanceBegin
    template="Templates/site_template.dwt"
    > codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML
    PUBLIC "-//W3C//DTD HTML
    > 4.01
    > Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <head>
    > ...
    >
    > The ASP code is stripped away. Do I need to change one
    of my preferences
    > since
    > the 8.01 update? I do not have this problem using PHP or
    JSP - only ASP.
    > Any
    > ideas? Resources I should review?
    >

  • ASP code to start a Java program (with parameters)

    Hi! All,
    I am trying to write some ASP code which should start a java program. Does anybody know a simple way to do this? Am new to ASP
    Thanks

    It doesn't have anything to do with java.
    Basically you need to make a system call which will start an external application. The external application can be anything including something like "java MyClass".
    So either find an ASP forum/board/newsgroup to ask how to do a system call or read some docs on it.

  • Please can someone provide me with Spry Menu Bar Horizontal code for Dreamweaver CS5.5?

    Please can someone provide me with Spry Menu Bar Horizontal code for Dreamweaver CS5.5?

    Log-in to the Adobe Exchange with your Widget Browser and grab "Spry Menu 2.0."
    http://labs.adobe.com/technologies/widgetbrowser/
    In Widget browser, style the menu as desired and Save files to your DW Local Site folder.
    Nancy O.

Maybe you are looking for

  • SSRS subreport with a sub-report as header on all pages

    Hello, I need some guidance on how to get a sub-report with a sub-report header and an expanding table. Please see below. This is the structure of things that I have: Main Report 1 is being invoked by ONLY Parameter 1 (User Text Box Entry). It Contai

  • Impact of project.max-shm-memory configuration in Solaris 10

    Dear All, I'm not sure if this an error or purposely configured as it is. Current kernel configuration of project.max-shm-memory is *400Gb* while the hardware only have 8 GB RAM, and SGA_max set to 5GB (ORACLE database is 10g). Will there be any impa

  • File opened as an old version

    I recently created a file in Illustrator CS6 (Creative Cloud version), and saved it as PDF with illustrator editing capabillities preserved. It saved fine, but when I opened the file in Illustrator CS6 again for more editing today, it gave me an earl

  • How to change the name of the tab control window?

    Dear all, Is there any way to change the name of the tab control page programatically? Thanks, Ritesh

  • Please help with aligning google button

    hi this is my website i have made, after making a few changes i have messed something up and now the google+ button has moved over to the right to much? i need to know how i can get the button to place above the facebook and twitter buttons where it