Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




Is It Possible To Change Global.asa From Asp


With global.asa application variables can be set. Later can a script in your
application change the value of those variables. But when IIS is restarted
the old values are used again. Is there a way to get the changes that are
done into global.asa?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Change
if it is possible to change the location of the dlls of an application, by default, the assemblies of an application is loaded in the bin folder in the applications folder, can i change some configurations to save these dlls in another location?i'm using asp v1.1 and .net studio 2003.

Want To Change Record
iam having problem ,relating to update a column in Access file in ASP
'Change' is column name , rs is recordset object ,and i want to update the values in 'Change' column by return values from a function .Iam using vb script in asp

rs ("Change").value = function()
this is generating error, and won't work

Change Password
does anybody here have codes for "change password"?i am using dreamweaver 8 and MS Access

Change The Font
I need to generate a pdf file in classic asp script. It uses the arial font . But i need to change the font of the pdf file to Century Gothic. I am currently using fpdf.asp file to generate the pdf. Can anyone tell me how to change the font to Century? It would be pleasure if anyone could provide me the code for doing it.

Change Menu
I want to have two pull down menus, 1 for continents and the other for
countries. On selecting the continent how can I change the menu of another
pulldown or how to display the list of corresponding countries in that. And if no continent is selected then nothing should appear in countries pulldown.

Change Parameters
my management has now decided that wants the crystal report that I have developed to be available with 5 different options. The only thing really changing is the where clause of my sql statement that Crystal Reports uses in the expert wizard to create the report. All of the fields remain the same. Is there way to set parameters for sql statement that would changed "where" clause in displaying crystal report in crystalreportviewer to (where xfield=parameter1, x2field=parameter2, etc.)

Change Language
I have some dynamic pages like asp files and the data comes from database.
What I need is to display the page content to diffrent languages.
Suppose user selects Germany and the page content changes to german language.

Dynamically Change
With ASP is it possible to dynamically change the <title> tag depending on what record I am viewing? I know that you can do this isn ASP.net and PHP but was wandering if its possible in ASP too

Change In Request
I just moved my website from a Win2000 server to a Win2003 server. On the old server, we would prompt for the user name and password via the WWW-Authenticate header, retrieve the Base64 values provided by the user from Request("HTTP_AUTHORIZATION"), decode them, and validate the user against our database.However, after moving to Win2003 server, the user is no longer prompted for the user name and password. The HTTP_AUTHORIZATION comes back immediately, and decoding it reveals a very long string of garbage.

Obviously something has changed between these two version of IIS. Anyone
know what the problem may be?

Change Registry With Asp
I have a html page that contain a form, I want to change windows registry, this key (LegalNoticeText) to amount of the text box in the form how I can do this?

Change Text Value
I have a combo which has 2 values.I want when its value is changed then its value should be display in a text box.

Change A Table Row
I have been trying to use If Then Else Statements and CSS to make different table rows change to different text colors based on a field that is queried. For instance when displaying a row of data that has the Memo field marked as rework I would like all the text colored Red.I have 3 different instances that I need to work with. Can someone point me in the right direction to make this work?

Change The Default
Using a DetailsView to update data in SQL 2005, How do I change the default "Update" hyperlink to a more user friendly button?

Change A String
how to change a string to upper case.

Change Dropdown
Is it possible to change the dropdown values in a <select> tag based on the Server Variables LOGON_USER?For instance, if userA is the LOGON_USER, the dropdown would show option 1, option 2, option 3, option 4. If userB is the LOGON_USER, the dropdown would show option 5, option 6, option 7, option 8.

Logic To Change
i ussually use www.domainname.com?uid=1111 .this one use request.quarystring right?so, what is the logic to change to www.domainname.com/1111

Character Change
I have a site with a simple admin tool (cut and paste text into a form field etc)henever someone copies in text with quotation marks, dollar/pound signs and then submits it to the database, the text shown on the front end contains ? marks instead.I have read this may be due to special characters or something, is there anyway to stop this
happening or filter it out as the admin is for general use by registered people.

Change Records
I have made a case for changing values in the recordset but when I click on the submit buttom nothing happens. Can anyone see whats wrong?

Change The Date
We want the currently date display in the input box (asp code), if the user wants to change the date, they can pick a diff. date from "date picker calendar". It picks the date...and it works fine.

When I try to submit, it doesn't submit the Date that I picked. I view the source code, it seems like it doesn't change the New DATE that I picked from the calendar. How can make its value change?

Change Variable Name
Is it possible to change a variable name? I need to store some information to be displayed to the users in a variable but I need to change the name of this variable. So what I need to do is read some info from the db, create a recordset and then read the first row of the recordset and store the result in a variable named Answer_1, read the next line and store the result in the variable Answer_2, is it possible?

I tried the following code:

Answer_"" & Counter & "" = "" & rsResult("Answer") & ""

But it doesn't seem to work.

Change The Line
let's say I have this string in the DB:

s=100,101,102,103
and also id=101

how can I change "s" to be "100,102,103" ?

Change One Value In A String
I want to check a string for a certain value then change that value to something else.
Example, user types in a value in a form "jim" , some code checks to see if the letter "m" is in the string. If it is it changes it to "t".

But we don't know if the string is jim everytime. Sometimes it could be "mark" or "quagmire". But for any string with letter "m" i want to change it to "t". So "mark" would become "tark", "quagmire" become "quatmire" Is this possible?

Change The Link
i got an image hardcode linked to another webpage like below.

<a target="_blank" href="http://www.anysite.com">
<img src="picture.jpg"></a>

assuming it is an email i forward to many people every month. i want this particular image link to be "changeable" so that i can change it when i want to. instead of having everyone who receives this email change the link themselves.

i want to be able to go to 1 place n change the link so that every1 who has this link will see the new page i have linked it to. how can i do that?

Event Change
I have been web-enabling alot of an access database with forms and asp. In the database, there is a field in the record stating weather it's open or closed. By default, the value is open. When the record is changed to closed, I want to have an email sent -- confirmation (record number and column values) page to the email address in the record.

I would like to have this automated and scheduled to run every night. It would go through the database to see which records = closed by "completed_date" type of thing. And each record that was closed have the email sent to address in the record. how this can be done?

Change Registry
it's not on web site ,computers are in intranet and that want see the message before they enter to windows (like pop up window) I have code in vb script(.vbs)(if it helps I sent for you) ,every day I change the text in this code and execute it on server ,but they want to reception do this with just input text in simple form, with your idea I think it's not possible with asp ,I would try other things.

Case Change
right now i am developing a web site. i want to know how to write the code to change the case for the text which we entered in the text box control? for example: if user enter his name as john elan, then we should automatically convert that text into proper case. i mean the name should become John Elan.

Change Domain To IP
I have domain name , eg www.abc.com. Use the Dynamic DNS web site to register.

If will show the IP of www.abc.com once I click The Domain Name. e.g. click http://www.abc.com.

Then show http://123.123.123.123

If the ASP program can help me? or any other solution.

Is It Possible To Change IIS Settings From ASP?
That was the first question. BTW, I am using Windows 2000 Server.

Second questions is how do I transfer session variables from one virtual
website to another website. Currently I have session variables set in say
www.first.com and then I click a link and goto www.second.com. How can I
transfer session variables from www.first.com to www.second.com? Both sites
are virtual websites and running on the same physical server running Windows
2000 Server and IIS.

Is it even possible to transfer session variables between 2 websites? Or
share the same variables?

Multiple Change
I'm trying change every category field on every ID but I receive this error Code:

Change ASPSessionID
How do you change the ASPSessionID during a web session? I have an ASP
application in SSL. The first screen is a login screen, which requests user
id and password. An ASPSessionID is assigned for this page. Once the user
is authenticated by valid id/pwd, the second page starts the real
applicaiton. I want to change the ASPSessionID to be different from the
first login page, which was issued to an unauthenticated user. How do I do
that in ASP?

Change Time US To IST In Asp
iam using a select box date chooser for time sheduler. but it take server time (server is in US) i want to change to Indian starndered time my code:

Change CDONTS Into CDO
i am using CDONTS for mailing, but i want to do with CDO Code:

IIS Folders Wont Change
Seems that my XP Pro IIS is being a jackass. When I run my ASP scripts it seems to give me this wierd error. Big_Al told me that it was because my script is inside a read-only folder and that something along the lines is really messing it all up.

Now this had brought a new problem. I changed the IIS Console features to Read, Write etc. but its not changing the wwwroot nor the sub folders. Whenever I un select read-only it simply reactivates itself ! What do I do to make the damned thing change!?!?!

How To Change Date Format?
Within ASP, the date is given in a format like:

6/23/2004 (independantely of the regional settings of windows).
I would like to have e.g. 23/06/04.

Is this possible ?

How Can I Change Date Format
I am trying to change a short date format in windows.regionalSettings, and all changes affect only client scripts but server side scripts not

regionalSettings = dd/mm/yyyy
asp code result
response.write(Date) '03/03/1983

regionalSettings = dd.mm.yyyy
asp code result
response.write(Date) '03/03/1983

Navigation In Ssi And Need Images To Change
how do a navigation bar in a server side include? All my rollovers work but I need the overState to stay on when the user is on the subsequent page. Is there a way name each button/tab/page oe give it a number and when the user goes to this page then the image changes. Well I know there is a way, I just don't know where to start.

How Do I Change A Confirmation Page
In my ASP page i have the following:

Next
objEmail.SendMail
If Err.Number <> 0 Then
Response.Write "The following error occurred: " & Err.Description
Else
Response.Write "A quotation request has successfully been sent, thank you."
End If

The thing is that the confirmation page looks so dull with just a line of text at the top. I want to add my logo and other things.

Can I just start using html or can I direct to another confirmation page?

How To Change An Image Colour?
I have problem to change colour of a product taken from the database. For your info, currently i'm doing my post graduate project on Online Shopping. One of the features that i must include in the project is changing colour of a selected product. The product has the motive on it and i have to change colour for both - the background and the motive of the product. i have tried many coding but it does not work. Can somebody please help me....?

Looking For A 'change Password' Solution
I am looking for an asp change password solution. I know there are very
efficient ways of doing it and perhaps you have some samples or ideas.

Basically I would like the user to be able to change their password. Then a
link is mailed to their email address on file and when they click on the
link, they are taken to a place to type in a new password.

Change Link Order
I have a database with some content and linknames for the menu. I need to give a number for every link to control the linkorder in the menu.

id | linkname | linkorder | ...
----------------------------------------
1 | xxxlink 1 | 1
2 | xxxlink 2 | 3
3 | xxxlink 3 | 2
4 | xxxlink 4 | 5
5 | xxxlink 5 | 4

How about adding a link to the db?
Creating a new record and set linkorder to 6

Change The Returned Rows
I've got a DropDownlist with predefined numbers(5,10,15,20 etc.) which I
want to do a postback to the GridView pagesize, so that the user manually can
change returned rows. Is there a way to do that in the properties of the
Designview or must there be a code behind. If so, what is the code for this?

Change Folder Permissions
Is there a way to change permissions on a folder in ASP? Basically I make a folder using the FSO, and I want to change the permissions on thaty folder with ASP commands.

Change Password Script?
Using an Access database with fields UserID and Password.

Does anyone have a good script for allowing a user to change their password?

Password should show encrypted and I think a user should have to enter their new password twice to confirm.

Change The Loop Sequence
I have a website where I present the price of some products. The products and its prices are stored in a database. I want to loop through the products and order them by the price, starting with te cheapest.
This is easy if I could use the price in the database. But some of the products have discounted prices. The discount is given on the website, so therefore I cant order the recordset by the price column, I have to set the looping sequence of the recordset in another way.

Change Font With IF Statement
trying to hide zero values by changing the colour of the font, problem is it
is still printing in a light grey colour? Code below but cant work out where
it is going wrong

<td width="45"<%
ThisNumber =
FormatNumber((DriverPayments.Fields.Item("CarParkToDriver").Value), -1, -2,
-2, -2)
If ThisNumber > 0 then
fontcolor="#000000"
Else
fontcolor="#ffffff"
End if
%>><font color="<%=fontcolor%>"><%=
FormatNumber((DriverPayments.Fields.Item("CarParkToDriver").Value), -1, -2,
-2, -2) %></font></td>

Change The Systems Output
Currently, all my outputs via Response.Write asp command are in Times New Roman size 3. How can I changes to the systemwide default with something else such as Arial with size 2?

How To Change Color For Row By Records
I load data from dtb and would be nice to have different color for loaded colors, e.g. blue and light blue. I don�t know how to make it. Here is my code which loads data from dtb: Code:

Change Text Value In Javascript
I would like to know if I can change the text value of an item in javascript ie:

<script language='javascript'>
function restore_BG(the_Id) {
if (the_Id == 'Arts') {
document.getElementById(the_Id).??? //what code needs to be here to change 'Hallo' to 'Bye' for eg.
}
}
</script>
<tr onmouseover="javascript:restore_BG('Arts')">Hallo</tr>

How To Change The Value Of Asp:label Dynamically?
I got this .aspx page with no access to the source code.(apparently it was lost)

anyways. I have this form with a datagrid that access values from a database.

<TD align="left" width="293"><asp:dropdownlist id="DropDownList16" runat="server" AutoPostBack="True"></asp:dropdownlist></TD>
<TD align="middle" width="127">$<asp:label id="Label32" runat="server">0</asp:label></TD>

If you look at the code above, asp:dropdownlist is a string, but I'm not sure if asp:label is a numeric. Since I don't have the source code, how can I change the numeric value that gets to the asp:label within the aspx page.

lets say i get a number 20, and I want to add 15 to it, how can this be done.


Copyright © 2005-08 www.BigResource.com, All rights reserved