Creating Exit Poll For Websites
I need to offer a questionaire to approximately every 10th user of my website when then are leaving.
My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.
View Replies
ADVERTISEMENT
I'm looking for the best software out there that can create simple websites for clients. Basically, a client pays a small monthly fee and they're given a website where they can display whatever they'd like. Something sorta like Geocities in a way. I've searched aspin.com but I couldn't find what I was looking for. Can anyone point me in the right direction? I'd rather buy something already made then to start from scratch and develop my own.
View Replies
View Related
I have a question that may sound stupid, but I want to implement some type of ASP script that can retrieve hardware information of a computer that visits a certain site. I've seen this type of thing before, and I want to do it for a beta-test site I'm planning on running for the ISP I work for. I want to use this type of script that will poll information such as Processor, OS type, Memory, etc. If someone could provide me with some insight on one such script or give me a link to where I can learn how to write this myself, that would be great.
View Replies
View Related
I am working with IIS 5.0 and would like use the property CentralBinaryLoggingEnabled which if set true will create one single binary log file in place of a separate log file for multiple websites.
This property is available in IIS 6.0. I would like to know if there is a patch available for IIS 5.0 which will create this property in IIS 5.0.
View Replies
View Related
Is it possible to use "exit" or equivalent in a condition in ASP as shown in the example below:
if count >=10 then
exit
else
rest of code
I just want the code to stop executing once a condition is met .
View Replies
View Related
how do you exit a while statement? i've tried
exit
exit loop
exit while
what am i missing? or is it not possible?
View Replies
View Related
I am working on a section of a site that logs the persons with timestamps. There needs to be a small asp script that runs when the page is loaded and another when the user leaves the page. How can I run the script when the users leaves the page?
View Replies
View Related
is there a concept of return exit To terminate program execution ?
View Replies
View Related
I'm getting this issue "Cannot use a leading. to exit above the top directory" when i access in my server, it is working fine in my local. We are using RewriterRule in web.config file. I'm using ASP .net 2.0, IIS 6.0.
View Replies
View Related
Within my site is a section for visitors to login. Once they have logged in they are directed to a page which uses frames.
existing code is below:
<frame name="leftFrame" src="computer_store_index.asp" scrolling="auto">
<frame name="mainFrame" src="computer_store.asp" scrolling="auto">
</frameset>
<noframes><body>
</body></noframes>
</html>
The problem is when the visitor logs out they are directed back to the login page. The login page and all subsequent pages which the visitor may click on within the site also displays the frames. Is there anyway to close the frames?
View Replies
View Related
Can anyone give me a simply and short paragraph answer to the quest : How does ASP close/exit an application?
View Replies
View Related
I am trying to format a texbox when a user exits it. In Visual Basic you could put the following in the Exit property of the textbox:
textbox1 = Format(textbox1, "Currency")
Is this possible in ASP/VbScript?.show code in your reply, especially where to put this code in the asp page?
View Replies
View Related
I'm pulling from a sql dbase, i want to be able to pull this poll by a specific id. when i do this it just gives me the number 1 for the poll question and only gives me one answer to responde to.
Code:
EnSQL = "select * from poll where id = 1 "
View Replies
View Related
I need help with this scripts! i dont know what to fill in and where.
<%
'Enter the details of your server below
src = Server.MapPath("db/poll.mdb")
Set adoCon = Server.CreateObject("ADODB.Connection")
sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & src
adoCon.Open sConnStr
%>
View Replies
View Related
i want to start learning asp for websites.what can asp do?and where should i start?
View Replies
View Related
I've been asked about poll engine.How hard would it be to code a poll engine?Does anyone know?
View Replies
View Related
how to write a routine for voting? Like Vote for some thing Yes/No and then it shows graphically in percentage for Yes and for No in ASP.
View Replies
View Related
I only let them vote on my poll once. I set a cookie and put there IP in my database. Then I do a select to see if there IP is in the database and check to see if they have a cookie. Does anyone see a problem with this?
View Replies
View Related
I have a simple poll located at http://nysdelpaso.com/poll/vote_db.asp. The code can be seen at http://nysdelpaso.com/poll/vote_db.txt. The script is very simple one asp file. This script will poll a user and give them 4 possible options.
When they hit submit the script displays the results. Currently,a user can ONLY vote once, due to IP logging. The script stores the users IP address in a Microsoft Access (.mdb) database. I would like to know what needs to be changed in order for someone to vote an unlimited number of times?
View Replies
View Related
I have registered a domain that forwards every hit to my home PC. I have configured Default Web site to show one Web from my PC. So when people navigate to www.mydomain.com they see that site. What if I want to how more then one web site? Is there a way of doing that?
View Replies
View Related
I can't afford M$ CMS. What I am after used to be called Content Deployment in Site Server 3.0.Does anyone know of any other software that will let me define a series of
hosts and then FTP to all of them at once?How do you guys update your clusters?
View Replies
View Related
i first used this forum to find code for coldfusion, but now want to learn ASP. are there any websites out there that show you the code for various things such as counters, guestbooks, database stuff, etc.etc.
View Replies
View Related
If I am updating a list of records for a user on an asp page, is there
a way to hold the page updating, even if they refresh the page, until I
have updated all the records.
i.e. rather than them seeing records change 1 at a time if they
refreshed their page, all the records would update together in 1 go, a
bit like a batch update ?
The source is from a MySQL db which is fed from an MS Access front end.
This could be an MS Access issue, in which case I will post there
instead.
View Replies
View Related
My poll's database has a table called "votos". This table as 3 fields: "date", "ip" and "voto". In the field "voto" I will record the option chosen in the previous form (this input may be "01", "02", "03",..., "19" or "20").
Now I want to show the results and for that, I must count the number of time that each option is displayed. Can anyone tell me the count syntax for that? I've tried to change an example I've found in internet, but didn,t achieve it... The code:
View Replies
View Related
what do you prefer ?
1. using session or cookies?
2. why?
3. how long the expired time?
View Replies
View Related
i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.
i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:
View Replies
View Related
I'm trying to produce a custom favourite’s section for my site so that users can store links to their favourite’s websites.
I would like to use Cookies to do this rather than make the user log in and use a database.
I would like the user to be able to create as many links as they want and be able to edit and delete individual links.
I've managed to write a cookie for one link but having problems trying to work out how to add multiple links.....
View Replies
View Related
Database and all the pieces are in place. On the results page the query returns the % calculation for a question (displayed) options (each individually).
I need to display bar graph, this is here that i am getting into problem. The background color would be #555555. How can i apply this color to certain % of the container as background?
View Replies
View Related
I'm trying to update an Access db: if link is ok, then status=up else status=down, in a form with 3 fields: names, link, status:
<%
Server.ScriptTimeout = 1500
%>
<%
Session.timeout = 1
If IsObject(Session("press_conn")) Then
Set conn = Session("press_conn")
Else
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "press","",""
Set Session("press_conn") = conn
End If
sql = "SELECT names, status, link from websites order by names"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 3, 3
rs.MoveFirst
Dim GotothisURL
Do Until rs.EOF
GotothisURL = rs("link")
Set GetConnection = CreateObject("Microsoft.XMLHTTP")
GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send
ResponsePage = GetConnection.responseText
if ResponsePage="" then
sql = "UPDATE (websites) set status=(offline) WHERE names = '"&rs("names")&"' AND link = '"&rs("link")&"'"
conn.Execute(sql)
else
sql = "UPDATE (websites) set status=(online) WHERE names = '"&rs("names")&"' AND link = '"&rs("link")&"'"
conn.Execute(sql)
end if
Set GetConnection = Nothing
Set ResponsePage = Nothing
rs.MoveNext
Loop
conn.close
set conn = nothing
rs.close
set rs = nothing
%>
I get no errors at all. The path to db is ok.
The script acts very very strange. On the first run, it seems that everything is ok, but the page freezes on half [the blue bar on bottom of browser]. If I'll stop the script, on the second run, the page loads very quick, but nothing happens.
View Replies
View Related
I'd like to be able to list IIS websites and information in a web page
(presumably using ADSI). Similar to the list you get in the MMC plug-in.
Does anyone have a simple script I could start with? I'm only interested in
reading info at the moment.
View Replies
View Related
I am going to construct a housing search website ... similar to www.mls.ca ... is there anyway I can populate the data(s) stores in their database? So when my user search for one kind of house, my website will return the data from the MLS database? Or there is similar way to get data from public websites?
Also, if a user search "sport" in my search text box, it will returns all the related links ... just like those search engine ... how can I acheive that? Or I need to pay or register to get the function?
View Replies
View Related
I've got ASP files in many sub-folders of many levels deep.
I've always used:
<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp"
-->
The VIRTUALSITE name is really the virtual directory created under
IIS.
I clone my website multiple times, to cater for different people. So,
each person gets a different VIRTUALSITE name.
This gets messy when I need to update the websites. I can't do a
diff/merge because the files of each site had a "search & replace"
applied to them to change the VIRTUALSITE name to the corresponding
person.
Has anyone experienced this problem? Can someone give me some
tips/solution on how to resolve this?
View Replies
View Related
Environment:
Development PC: W2K Professional
WebServer: W2K Server, IIS 5.0
Peer-to-Peer network
I'd like to create a new asp.net project on a remote server (not on the
local (development) machine. I have looked for info on how to do this, but
all I can find are instructions on how to create on localhost, then deploy
later to remote machine.
View Replies
View Related