all groups > inetserver asp general > february 2007 > threads for february 22 - 28, 2007
Filter by week: 1 2 3 4
Request.ServerVariables("SERVER_NAME") is only returning IP
Posted by E L at 2/28/2007 1:50:22 PM
We have the Request.ServerVariables("SERVER_NAME") used in a classic ASP
page using IIS 6.
It used to return our website name: www.xxx.name.this when using IIS 5,
now it is returning the IP address when we type the full www. url.
How can I fix this behavior?
*** Sent via Developersdex htt... more >>
Hidden data in hyperlink
Posted by David at 2/28/2007 3:51:00 AM
Hi,
I have a set of asp hyperlinklinks on my asp pages which direct the
user to specific products.
i.e. the link jumps to ....../product.asp?product=productA&ID=1
is there anyway to still carry over the ID, but hide it from the link,
so that visitors will only see
/product.asp?product... more >>
Opening a aspx page withing a aspx page
Posted by Kevin Humphreys at 2/27/2007 6:40:46 PM
Hi There,
I have an asp.net page that I would like to open up another asp.net page
within the first one. Like a parent - child relationship.
I need to display a graph in the child on the parent.
Best Regards,
Kevin.
... more >>
Displaying XML in ASP
Posted by lejason NO[at]SPAM gmail.com at 2/27/2007 1:32:20 PM
I am having trouble with a really simple problem! haha. How do you
display that data from on xml file. Here is my xml file called
"test.xml"
<?xml version="1.0" encoding="iso-8859-1"?>
<test>
<person>
<name>Jason</name>
<color>blue</color>
<number>16</number>
</person>
<person>
<name... more >>
Classic asp and IIS 6.0
Posted by anon at 2/27/2007 7:51:20 AM
In our application we need to increase the session timeout to 2 hours when
the user requests a certain page.
We use the following code to do that.
Session.Timeout = 120
This works fine on IIS 5.0.
After we moved the application to IIS 6.0 the session timeout does increase
when the page in ... more >>
Populate Dynamic dropdown box
Posted by Simon Gare at 2/26/2007 9:15:15 PM
Hi,
have form on asp page that recalls data from the recordset and populates all
the fields except the dynamic dropdown box that doesn't, just shows default
value. How do I make it populate based on the entry in the db?
Regards
Simon
--
Simon Gare
The Gare Group Limited
website: ... more >>
Autofill field based on entry in another
Posted by Simon Gare at 2/26/2007 9:14:38 PM
Hi,
have form on asp page with an email address field, when the user enters
their email address I want it to populate another field automatically on the
same page, some kind of OnBlur event. Have worked extensively with dropdown
OnChange events but cant get my head around this one.
Regards
... more >>
How would you face this problem?
Posted by MarcoG at 2/26/2007 3:02:29 PM
Hi,
I have an online application (written in .asp) that requires a login to be
accessed and used. I have a login.asp page that asks for username and
password, looks up in a MS SQL db if a combination of those
username/password is available and, if so, sets a session variable and goes
to home... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Syntax Error in SQL Update Statement
Posted by Maximus at 2/26/2007 11:15:56 AM
Can some one help me with finding the error is this statement?
strSQL_Update = "UPDATE tblWJS_SuperInput SET JobNumber= '"&
strJobNumber &"', " _
& "WeekendingDate = '"& strWeekEndingDate &"', "_
& "CurrentHours = '"& strCurrentHours &"', "_
& "CurrentHoursTaping = '"& strCurrentH... more >>
MS SQL Database access
Posted by Lubomir at 2/26/2007 10:51:43 AM
Hi,
I am learning how to access MS SQL database from ASP.NET and run into 2
problems:
1/
When a user from asp page is connected to database, I can not connect to the
database from windows management console. My database was created as local.
Could be this be a problem?
Is it preferab... more >>
If record exists if not Insert
Posted by Matt at 2/26/2007 9:00:33 AM
I need some guidance on how to handle an issue. I have an .asp page
that correctly queries a table and returns data if a 'job number' and
week ending date exist and the user can update the information that is
there. What I need to do is, if a record does not exist the page
needs to create one ... more >>
view content of remote folder
Posted by Marco Firenze at 2/25/2007 2:43:45 PM
Hi to everyone
this is my problem :
I have a dynamic SELECT code like this
<select name="risposta1" id="risposta1" >
<% Set file1 = CreateObject("Scripting.FileSystemObject")
Set file2 = file1.GetFolder(server.mappath("myfolder/"))
Set file3 = file2.Files
For Each file in file3 %>
... more >>
Setting a default option for a comb box
Posted by Doogie at 2/25/2007 10:47:47 AM
I posted this question a few days ago but I think that post is drying
up and I still do not have an answer. I need to set a default option
for a combo box that is not the first item in that combo box. Below
is an example. I can put the code below into a simple HTML file and
it works fine. It... more >>
Using wildcard w/Access database
Posted by Dave at 2/25/2007 10:22:02 AM
[I posted this in the Access forum but the more I think of it, it's probably
more of an ADO issue since I can get it to work in Access but not ASP 30.]
I need to filter an Access 2000 result set in ASP 30 using the ADO
recordset.filter.
I build the filter in pieces. The first clause of th... more >>
Data Type Mismatch
Posted by Matt at 2/24/2007 11:23:33 AM
can anyone help with why this is returning a Data Type mismatch error?
dim strTestDate, strJobNumber
strTestDate = "3/8/2007"
strJobNumber = Request.QueryString("JobNumber")
strConnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=\
\CALSJ1\PMAPPS\Intranet\pmdata.mdb"
Set conn = Ser... more >>
Date question
Posted by Matt at 2/24/2007 10:18:38 AM
I have a form field area that I need to always have display the
upcoming thursday date. ie. this week I would need the form field
area to display 3/1/2007. Then beginning on the Friday 3/2/07 i need
it start displaying 3/8/2007. any suggestions..
... more >>
Data not visible ASP VBScript & SQL
Posted by Simon Gare at 2/23/2007 7:46:38 PM
Hi all,
Some pages wont display dynamic data from the SQL DB unless the data is in a
certain order, when I move the dynamic element up the page it becomes
visible.
Does the layout in the SQL DB determine the layout on the page?
Regards
--
Simon Gare
The Gare Group Limited
web... more >>
Default value for combo box
Posted by Doogie at 2/23/2007 3:50:10 PM
How do I make a value the default value for a combo box in ASP 3.0?
What I have below does NOT work, yet I've seen it in HTML file
examples before (and works if I put it in a HTML file by itself, but
not if I use it in a ASP 3.0 app.
<select name="cboCompany" style="text-align:right; font-si... more >>
OnClick Submit & Fresh
Posted by Matt at 2/23/2007 2:41:04 PM
I have an ASP page that once a user puts a check in form field
checkbox I would like to have the the record updated and the page
refreshed? Any suggestions on how to handle this? This is currently
what I have for my checkbox:
Response.Write "<td valign=middle align=left><input type=checkbox
... more >>
Classic ASP - Custom Login Page - Redirects to Windows Auth websit
Posted by Parag Gaikwad at 2/23/2007 8:09:00 AM
Hi All,
We have a requirement where we have to develop a custom Login Page which
will accept user's NT credentials ( Username , password, domain name).
This then needs to be passed to a website which uses Windows Authentication
Now my question is how do we pass these credentials to IIS in ... more >>
Updating Records in two tables
Posted by Matt at 2/22/2007 4:40:23 PM
Using ASP and Access is it possible for me to update recordsets in two
different tables from data collection in one page? Basically, I need
user input on 1 page that contains multiple form field areas and upon
submit it updates the records in two different tables. Any advice,
direction, or sug... more >>
Create a combo box in ASP 3.0
Posted by Doogie at 2/22/2007 3:11:34 PM
How is this done? I want to take a text box that is in a grid and
make it a combo box: Here is what the first part of the HTML looks
like now:
<input type="text" name="txt_SERVICE_SN"
onkeypress="filterNonNumeric()" size="5" maxlength="3"
style="text-align:right"
onchange="fieldEdited(t... more >>
Daylight Savings Time?
Posted by J at 2/22/2007 10:36:38 AM
Hello. Our webserver is running Windows 2000 Server iis5 and was wondering
if anyone knew if the new Daylight Savings Time rule will affect any classic
..asp pages? I think I'm mainly concerned with the date functions like
DateDiff() or Now() that is used in these classic .asp pages that our... more >>
Codepage problem
Posted by ssijakovic NO[at]SPAM gmail.com at 2/22/2007 6:07:48 AM
Hi,
I don't know where to ask this question, and I hope this is the right
group for this.
I've made one ASP+Access site. On that site I have few parts where
it's grabbing data from the database, and shows only those that match
particular query. When it's open, url looks something
like: ...da... more >>
|