Resetting Web Site
What they have is a Kiosk machine that runs a web page. The problem he is having is when someone uses the Kiosk and they leave it a any given page and then walk away, it stays at that page. What he would like to have is a way to force the kiosk back to the
default page after 3-5 minutes. Does anyone know how I can do this ?
View Replies
ADVERTISEMENT
I have a search page where i have like 10 combo boxes and some radio buttons and check boxes.
Now when the page loads, i do some selection in the combo boxes and when i press reset button it clears all data in the form elements.
But when i select things in combo boxes and do a search by clicking OK button then the search results are displayed there and now if i want to clear all the form elements , i tried to click reset button, but when ever i did a search ie click ok button and after than press reset button reset button is not clearing the form elements.
Reason for this problem:
Reset button resets the form to it's state when it was loaded (as opposed to clearing the values) so if the page loaded with the search values in it, when you hit Reset nothing will happen if you haven't changed anything. Code:
View Replies
View Related
arrayCurrentReviews becomes an array of unknown length based on what is in the current value of strCurrentReviews. What is happening is that if the first array has 2 values and the second array has only 1 value, then the second value of the first array is still there when the For j Loop goes to loop thru array 2.
How can I reset arrayCurrentReviews so that it will not retain any values from the previous pass and will still be bounded by what the Split creates?
Code:
strCSCICount = Request.Form("txtCSCICount")
For i = 1 To strCSCICount
strCurrentReviews = Request.Form("selectCSCI" & i)
arrayCurrentReviews = Split(strCurrentReviews,",")
If (UBound(arrayCurrentReviews) <> -1) Then
For j = 0 To UBound(arrayCurrentReviews)
'... Additional code cut out ....
Next 'j
End If
Next 'i
View Replies
View Related
is there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?
View Replies
View Related
is there a quick way to reset all the used session variables onb a server in one hit rather than using Code:
session("xx")=""
for each one.
View Replies
View Related
I have a Win 2003 SP1 with IIS 6 and host about 40 websites, most of
them useing ASP/VB with access databases. The server is a Dell Dual 2.4Ghz
XEON with 512Mb Ram.
Every few days I get the error 'HTTP/1.1 New Session Failed' and the server
stops showing the sites. It comes right after a bit and then the error comes
back. I have separed the sites into 10 per application pool but it still does it.
Occassionally it will actually look like it is working but the sessions just
keep resetting and the users get logged out every 2 or 3 minutes.
There is a hotifx 838306 which according to MS is in SP1 but according to
everyone else, is NOT. It wont install on SP 1 because it needs another
hotfix first (837001), which will not install because there is a later
version of the 2nd hotfix in SP1. Catch 22!
So my solution is to set up my server to reboot every night at 2am. That
keeps it going.... barely.
People keep saying you don't need to reboot, just recycle the app pools.
Well that does not fix anything, only a cold reboot solves the problem... for
a few hours anyway.
View Replies
View Related
I'm just dipping my toes into server-side scripting.
The Global.asa file seemed really nice, but am I understanding correctly that the application onstart event is fired ONLY when the server is started/re-started or when the FIRST user logs onto an ASP application?
If that's the case, then all the changes I keep making to my Global.asa file are pretty useless, right? (which seems to be the case -- i.e., my pages are not using any of the new information). Code:
View Replies
View Related
I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?
The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp
If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?
Can a Html website be loaded and working on an asp server or host?
Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.
View Replies
View Related
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.
View Replies
View Related
Whenever I do a site that is mostly static but with some semi-dynamic
sections, I've struggled to find a good site search solution without
paying for a hosted search service.
I like the FSO-based search engines, but they fail to pick up on some of
the dynamic part.
I was just creating a Google sitemap and it made me wonder: has anyone
created or seen a script that uses the XML Google sitemap to power a
search engine for your own site?
Seems like if you were keeping it updated for Google, why not use it for
your own site?
View Replies
View Related
How can my members log out of my shopping website? I can't seem to figure it out. I'm using a session cart where users can log in before shopping or log in upon checking out products. How do they log out??? I'm using ASP and oracle sql.
View Replies
View Related
I would like to create a site map for my map site which is in ASP. I tried
to use Visio to create a web site map but it fails because my asp home page
requires to authenticate. Is there any other tool to create a sitemap from
username/password protected website?
View Replies
View Related
I want to open a website let say
google.com in my own site.but i want to replace some of its images with my own.
but remember site ( google.com ) will be running in my website everything should be of google but look will be mine.i wanted to do it for my own two websites i just used name of google.com to demonstrate my problem
View Replies
View Related
some code to look through for getting started, i still need to sort out thing like a file to hold all the db stuff so i can call the functions rather than type it every time. cleaning up really .
View Replies
View Related
i have a slight background in HTML and basic web dev. I have been asked to create basically the following, it will be my project over the next couple of months. I basically want to build an e-commerce website that will take all data from a database. It all needs to be dynamic, products added to the database would automatically update in the website, the navigation also needs to be dynamic, it needs to be low maintainence, i aim to have the checkout to save customers details to a seperate database, the payment process would have completed, no payment details would be saved.
What do you think on the above. Does any one have firstly any code they may be able to give me, to help me along the way. it does need to be done on a budget, I will buy code if need be. What is the best program to develop such a website in?
View Replies
View Related
I'm looking to eliminate all lag on my site and I have a couple questions regarding databases. Is it possible to open 2 ADODB connections at once? I want to put my sites boards on a different database than everything else but I want to get user information to update in the main db. How would I go about doing this?
Does closing all the stuff you opened in your ADODB connection make a difference? Does it resuly in the use of more bandwidth and site lag?
View Replies
View Related
i have been asked to create a 'site map' for an ASP / Access DB website which i have just started. Can someone explain to me exactly what a 'site map' is and what it is useful for please?
View Replies
View Related
i've got a local server on another pc (ip address:192.168.1.243) but when I want to connect to ASP site that's on that computer it can't. when type "http://192.168.1.243" in my browser it returns this:
IE says: "impossible to find the page" and Firefox says: "the operation timed out when attempting to contact 192.168.1.243". I know that ASP works, because when we try it on the localhost it works (but that's not my computer so I can't use it).
View Replies
View Related
How create site with webmatrix with MySql ?
View Replies
View Related
i have a simple asp counter in my site, the counter uses a access db & cookies (so every visitor will be counted once).
in the past days the counter has gone wild & count goes from 300 in ordinary days to 1000.
i guess this is because of robots, crawls, worms etc. is there any way i can count only real visitors?
View Replies
View Related
I have a situation where I have a customer with one e-comm site and two domain names. Both domains currently point to the one site but they want different logos and purchase tracking for each domain name as visitors come through. I am not that well versed in using the HTML headers but somewhere I seem to recall a way of using the headers to identify the url/domain and then redirect or setup session variables for handling the rest.
If this is ringing a bell with anyone I could use a pointer to more info on this.
View Replies
View Related
anyone knows a VBScript that acts as a webbrowser? I am
behind a firewall and my local machine is not visible to the internet,
but I have a access to some webspace with asp VBScript. With the right
script I could tunnel pages and sites from my local machine
View Replies
View Related
We have a requirement to build a site to work on a mobile phone. Its a property search system and the site needs to show properties from the database based on the users location using the gprs position.
Can anyone point me in the right direction for doing this?
View Replies
View Related
I just need a simple ASP tutorial site for beginners.
View Replies
View Related
I like to create a search mechanism in my web site. This
search engine will look for the keyword in my web
directory and return the file location as hyperlink. Now,
I have included all the conent of my web site as include
text file. Example: I have index.asp and content of
index.asp located at include/index.txt. If search query
locates at index.txt I want my search code to return
index.asp instead of index.txt as search result. How can I
do it.
View Replies
View Related
Currently I have someone wanting to transfer their site, ran in IIS/ASP, to one of my servers so that I can host if for them. I am running Windows 2003 Server with IIS 6. I have a disk that has the files for the site (from root down) I created a new site, put the files in there and configured the properties in IIS, but I only get a 500 (Internal Server Error) error page when it tries to run. I set the home directory, permissions, documents to point to the index.asp file, etc...
View Replies
View Related
I have got a small problem as follows, i am trying to test my web page on the live site of which it doesn't load to the database. hence it loads on the production server.
View Replies
View Related
I have a Log In form that has the user enter a username and password. Then in the log in process the needed user fields that control the access the user has on the site are stored in different session variables. Basically, the site is dependent on the session not getting timed out.
With this in mind is it better design to set the session timeout value to a value greater then 20 minutes or would it be better to have a script check to make sure the session is active before any actions are taken? I guess it is possible that I should do both.
Then, when checking if the session is active, is there a special script for this or do I just have a variable called SessionActive in session and set this to true and then check it anytime before I initiate a process so if it is any value but true, then I display a page saying the session has expired and have them log in again.
Then, on the site I have a bottom menu that allows the user to navigate to about any page in the site from any page in the site. So basically it is possible that the user could log in to the database and then click a link to go to a static page.
Then they could hit the browsers back button to take them back to the dynamic ASP page. Is there any concerns with session variables in this case? Also, once a user logs into a database, should they be able navigate to other static pages without first logging out?
The reason I put this post in the ASP section is because the dynamic code is written in ASP.
View Replies
View Related
I am looking to create a script in asp that will gather the page title of each page in my database and display as the anchor text of the url. This is basically so that I can have a site map with all pages in database. I also want to limit the amount of links to say 80 per page.Has anyone done this before and if so could you let me know where to go to find out more info on this or how to go about it
View Replies
View Related
I have a table in my (Access) database called stats with the following columns,
Quote:
-- statidautoincrement PRIMARY
-- ipaddresstext
-- useridnumber
-- allrawmemo
-- languagetext
-- pagetext
-- datetimelinenumber
-- useragentmemo
-- cookiememo
-- sessionidnumber
-- countrytext
-- loadtimenumber
Can you think of a few possible ideas of displaying the data, and giving the SQL query(s) for it? Something like, SELECT AVG(loadtime) AS averageload FROM stats.
View Replies
View Related
i have a website and i want to create a hieracial site map e.g.
main
>sub section 1
>>subsection 1 page1
>>subsection 1 page 2
>sub section 2
>>subsection 2 page1
>>subsection 2 page 2
in my database i have 3 tables .. 1st is called tablemain which contains 2 fields the section name and the section id.. 2nd table is called tablesub which which again also contains 2 fields a section name and id .. the 3rd table is called pages and contains 3 fields a maincatid a subcatid and pagecontent field.
my question is how would i query these tables and loop through to create a hieracial structure for a site map.
View Replies
View Related
What's the best way to do a site search of my site? I am using asp and access heavily on a regular ISP google? Or write a bunch of queries? what else is there?
View Replies
View Related
I have produced a quick site and now have uploaded onto the internet but it dosen't work. The problem seems to be the connection to the database.The link shows the page and the error that is displayed
Page Example
Here is how i have connected to the database on my machine
Code:
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "DSN=TPVSite"
objConn.open
View Replies
View Related