Putting A # In A Href With The ?

If you have a href such as this,

href="somepage.asp?home=alpha&street=beta, how would you include a reference to a bookmark on that page, such as <li id="bookmark">Some List Item</li>

View Replies


ADVERTISEMENT

Putting '/'

I have a form with '/' in some of the field names, when I pass through to
the next page the field name comes back as though it's been htmlencoded, so
getting the value out of the field I need to convert this back to '/' with
the replace (same problem if I have a ',' in the name)
Is there an easy way to htmldecode or something what it converted to the
encoded versions? (I have written a short function to basically do all my
replaces for me, but I am guessing this isn't the ideal solution)

View Replies View Related

Putting Asp And Javascript Together

I have a database table where I managed to add with ASP an extra column which breaks down the previous column "text_data" and counts the number of words: Code:

View Replies View Related

Putting A Pause Into ASP?

I have an app that I want to send out an email to each user in our member
list giving them their username & pw, but I don't want to overwhelm my mail
server since there are over 1000 users in my database.

I don't want to overwhelm my web server, either, having this app hog all
resources.

Luckily, I do have two processors running in this web server.
Note: web server and mail server are different boxes.

So... what kind of pause routine would you all put into my VBscript ASP
within the loop that sends out emails to all users?

View Replies View Related

Putting Button

Is it possible to put the logoff/shutdown/restart buttons on an ASP page or something similar? If so can anyone point me in the direction of some code or where I can read how to do it?

View Replies View Related

Putting A Delay Into A Loop ?

I have an application which loops through several thousand subscriber
records, compares each subscriber's requirements to a database of
businesses for sale, and then prepares and mails off an email
containing info from the database that the client is interested in.

Problem is that the ASP file exits as soon as it has sent about 50 or
so records to the Mercury/32 mail server on the local Ethernet. No
error message or program execution issues noticed. I then delete the
first 100 or so subscriber records and set the file off again. In the
loop thru the next 100 subscribers it prepares an email for approx
every second subscriber, then seems to hit this 50 max limit and
terminates again. Driving me crazy.

I figure that somewhere there's a queue building up which maxes
something out and causes some low level termination. To test that,
I'd like to build something into the loop thru the subscriber file
that causes a delay of 10 seconds or so before the loop starts again.

Code:

View Replies View Related

Putting Database On Server

My database and ASPs are currently on my local server and now I want to put it on the company's server.

Any pointers how can I do that? Do I need to keep both the ASP's as well as the database on the server?

View Replies View Related

Putting In Images From Database

i am trying to put in images from the database and using something like:

<img src="I:/in_uni/<% response.write rs.fields('Image') %>">

but it isnt working.

also tried in:

<img src="http://cms-stu-iis.gre.ac.uk/ck227/test/in_uni/<% rs.fields('Image') %>">

but it still aint working!

View Replies View Related

Aviod Putting Url-information

We have two applications for one system. The first application is a vb-app
and the second is a web-app.

From the vb-app users have the possibility to enter right into the web-app.
The vb-app is creating an appropriate url and opens the web-browser with
this. The url contains user-information like user name and password. We
don't want this url-information to be stored in the history-list, because
then advanced users can find passwords etc here and that's not so good.

View Replies View Related

Putting Data Back

I am retrieving data from html form, perform some math. calculations on it and now i need to put this data back to some presentable form to display in asp.Earlier I get the data from FORM in text format, convert it into double value, now want to put it back in text format for dispal.

View Replies View Related

Putting Records Into Tables

I'm trying to put my data from Access DB into a table, but, where I know how to do it creating one row per record, what I'm wanting to do is essentially extract each record into 1 cell, and then have the next record in the next cell, creating a table 2xn in size.

The data I'm getting for each record is a URL & a file location, to create an image hyperlink for each record, and need the images to appear in a table 2 columns x however many rows required.

View Replies View Related

Putting Variable In Parameter

Is it possible to put a variable in parameter for a URL? I'm looking to have a page with an input box and a link. When someone puts in a value in the input box and clicks the link it will take the value and pass it through the link to an asp page.

example:

Employee Name <input type="text" name="Tname" size="20">
<a href="emp_info.asp?e_num= Tname.value">Employee Info </a>

How can I get this to work?

View Replies View Related

Putting Quotes Around A Variable...

I'm practicing making cookies and I've run into a small problem. I'm following this

Response.Cookies("name") = "Suzy Q."

I'm not using a physical, I want to load the information from a variable. all my variables that are not using letters work fine.

i've tried this: Code:

Response.Cookies("attyname")=attyname

and it will not get inserted into the cookie. how do i get the quotes around it like my example?

View Replies View Related

Putting One Line Of Code On Different Lines

I know this is Visual basic code, but the response should be global. I one line of code that stretches from here to Mars. Infact, it was used to guide the last probe there. How do I make it go over seperate lines? Code:

View Replies View Related

Putting A Formatted Date In A Text Box

i need to put a date of the following format: 14 June 2003 into a text box. i have seen some samples but i can't get what i want. i tried the following: <%=FormatDateTime(todaysDate,0) %> and it only rendered 00:00:00 .

View Replies View Related

Putting Session Data In A VBScript

I'm trying to create a VBScript using ASP. However I'm having
problems getting data from session variables into the right places.
The example I have copied below works, however I need to replace
"data1" and "data2" with real data from a session variable. Code:

View Replies View Related

Putting Current URL In A Session Variable

Is there any way of setting the URL of the current page in a session
variable?

I want to do this so I can create links and redirects back to the page on
which the user invokes a particular procedure.

View Replies View Related

Putting Records From Recordset Into A String?

i need to put the records i'm getting from my query into a string, can someone tell me how to do this.

i've tried GetString, but thats not what i'm looking for, my query pulls up ID's and i need to put these into a string so i can split them up to be used in another query.

View Replies View Related

Stopping People Putting Scripts Into Form Fields

im making a simple site where people can add comments into a shoutbox. only ive had experience of people adding in html tags and javascript to redirect people away from my site and display images etc which im not interested in.

how do i stop this from happening? is there a way to intercept the form contents and kick out the code leaving plain text? or changing the code so it displays the real code using &lt; and &gt; ?

View Replies View Related

Href In Asp

Have you ever been on ebay-You know when you are checking a persons feedback history, you see a href link to go and see that particular item.

I would like to do the same. If i have a table which i populate with information, if the user clicks on view, i would like to go and show that particular item on another page. Ebay has one unique key (item number), unfortunatley i have a composite key.

How can i do this by adding a href in an asp table and also by having the ability to go directly to the full information about that specific item?

I have done something similar in vb but i used a mshflexgrid but i don't think thats a possibility in asp.

View Replies View Related

If Then With HREF?

I have a master table of records from a recordset on which thereis a link to a detail page as follows: Code:

<td width="10%" align="left" class="langdetail"><a href="Advanced_Search_detail_template1.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "TeacherID=" & rsViewMusic.Fields.Item("TeacherID").Value %>"><%=(rsViewMusic.Fields.Item("LastName").Value)%></a> </td>

Is it possible to have to include an if then statement to have 2 different detail pages according to an access level (a field in the recordset)?

View Replies View Related

HREF

I saw an url like this

<a
href="{nocache:426d6de96f848e23f89ef8d2a557145f#0}&p=http://www.isbuluyorum.
com>CLICK</a>

What is the purpose of using href="{nocache:1321sdsa . Does anyone have idea about it ?

View Replies View Related

A Href

Can anyone tell me the proper syntax for this statement:

Response.Write "<a href=""Showevent.asp?eventid=<%= objrs.Fields("eventdate").Value %>""">(objRS("eventcaption"))</a>

View Replies View Related

Href (link)

I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will
click on a link and will not be taken to another page, but precessing will occur.
This is mainly for a 'Rating' Application.
Amazon.com does this and I want to know how they do it. Here is the link to the amazon page (you may need to be logged in)
http://www.amazon.com/exec/obidos/t...5480771-6490552.

View Replies View Related

Base Href

I'm using W2k Pro, ASP 3, IIS 5 & DWMX 6.1 and code in VBSCRIPT
I currently use the <BASE href=XXXX> in all my pages and just read
that this tag is no longer supported so will soon vanish
I have a couple of sites that I'm working on and to make all my links
work right etc I need to use the base href tag

http://localhost/site1/
http://localhost/site2/
http://localhost/site3/

where online the base href would be

http://www.site1.com/
http://www.site2.com/
http://www.site3.com/

all my links are like <img src=images/mylogo.gif> or <a
src=info/info.asp>Info</a>

Now my problem is how else would I design my sites if I cant use the
Base href tag so the site would work both on LOCAL & REMOTE servers as
needed in the above paths?I'm sure other people develop on a WIN 2k PRO system where you canonly have ONE site (c:inetputwwwrooot) Which was fine when I only
had one site... but when I needed a second I had to change my first to
use the Base href so I could check the sites out locally (offline)
before uploading them to a live server.

View Replies View Related

Href Problem

when i click the a link i want to see a thing which is like save as target
...

it can be a word doc or xls or whatever. i want to make it dowloadable when
a user click a link.. Code:

View Replies View Related

Using If Then Statements In Href Tag

Is it possible to use If Then statements in an a href tag? What I am trying to do is I am using a server side include page of navigation inside of a content management system. I have limitations on what I can manipulate and change. So just using style sheets won't do me the trick. I want to have a navigation link change a different color when you are on that section. I have the menu expanding also using if then statements. When a variable is passed somewhere else on the page as true, the menu expands. I figured I could use this in the same way to make the link change colors. I want to do something like:

<A href="#" <% If Variable_name then%> id="link <% end if %>>Link Here </a>

Is that possible? I know that i can do an If then statement and have 2 different links, one with the id and one without, but I wanted to see if I could simplify it at all. I'm not the best with ASP so there might even be better ways then that...I was just using from the little that I knew.

View Replies View Related

Using Variable Name In Href

How can i use the variable name instead of a hardcoded value when writing a hyperlink.

strBody = strBody & "<a href="default.htnk">Login</a>"

I would like to use a variable name instead of directly writing default.html like below

strPageName = "default.html"

strBody = strBody & "<a href="<%=strPageName%>">Login</a>"

how this can be done.

View Replies View Related

Href + Outlook

Is it possible to create a link to open outlook (Client side) to open a particular folder
here is the code i am trying to use unsuccessfully :

<a href="outlook://Public%20Folders/All%20Public%20Folders/P/W/C/Conf
%20Room/~S%20C%20R">Conference Room 1</a>

Basically what i want to happen is that when a user clicks on the web link that it opens the meeting room which is in a public folder in outlook application (not the web interface outlook.

View Replies View Related

Href Statement

My href statement as follows isn't working and in fact prohibits the rest of the asp on the page from working. Code:

View Replies View Related

Storing Href In Cookie

I am new to web design and ASP, I am developing a site which has a logon script, what I want to do is return a user to the location they were at after login. Some of the pages will have query-string information in the address bar so need capture that as well.

<script language="JavaScript">
x = window.location.href
document.cookie=x
</script>

Appears to do what I want as I can pick up the href out of the cookie after login and return user to page, prob is I don't seem to be able to include it in my server side scripting which is doing the login it falls over at the script tag.....

View Replies View Related

Disabling The Image On A Href In Asp

I have the following href in my asp code. I would like to disable the image
so the user cant click on the javascript for this image.

....
<input type=text name=thedate size=10><a
href=""javascript:show_calendar('dataform.Line" & lineno &
"6',null,null,'YYYY/MM/DD');"" onmouseover=""window.status='Date
Picker';return true;"" onmouseout=""window.status='';return true;""><img
src='../Production/show-calendar.gif' width='24' height='22' border='0'></a>

Is this possible?

View Replies View Related

Javascript Href Link

I am using Javascript with ASP and am having a problem with a javascript link in that it does not function when clicked. The page is generated correctly without any visible or runtime errors.

A bit of background as to what I'm trying to achieve: i am dynamically creating multiple forms which store details of a products into hidden fields, the information is retrieved from a database recordset. Each product is created in a unique form, this is achieved using a counter variable. I am trying to use javascript to submit the current form - i.e. a hyperlink - which unfortunately doesn't have any effect when clicked. I am thinking I might need to refer to the form differently but am unsure how to.

Below is a sniplet of the source code ....

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved