Allowing Site Access For One Hour
One of my client is requiring that a section of his website to be restraint. It is currently in ASP. The visitor will be attributed an access code. This access code will be alpha numeric and contain 6 digits.
When my user will be entering this digit he will be allowed one hour access to the website. I guess the best way to do this is thru cookies. Any experience on this ?
View Replies
ADVERTISEMENT
Is there any other way to write files to a directory than allowing the
IUSR write access. We have a website that will be writing XML files and
Label files to a directory outside of our website directory but I am
hesitant to give the generic IUSR account write access to anything and
wondered if we could asign a different account or if there was some
sort of ASP script we could use. These files will be created based on a
received XML string (used for label generation) then saved to the
server for archiving and/or recreation of the labels.
View Replies
View Related
I want my clients to be able to print straight to some of our printers over
the internet. The reason: 1) So I don't have to purchase all the
applications they have, simply to print their data. & 2) So they can have
access the printer drivers options.
Sharing a printer on the internet isn't wise, which is why I thought of
doing it via a website. And a few factors came into mind:
1) will the data be secure? maybe encrypted even?
2) who will be able to print to it?
3) can a client only print, once his deposit payment has gone through the
payment system?
Has anyone been able to make such a project work? I tried Google, and most
of the stuff refers to the HP internet-print print server, which won't work
in our scenario, since we have printers that work on LPR, their controllers
are OS/2, and the supplier won't change it just for one company.
View Replies
View Related
How do I convert the VBScript function hour() to return 1-12 instead of 0-23
View Replies
View Related
I am using Windows 2000 server and set number of websites and ftp sites and
all seems working just fine. One site had an asp codes like the one below:
const MYSITE="http://www.domain.com"
The strange things is that it suppose to be like the shown above, but the
results comes as an error page. I change it to "http://domain.com" it work
without error page, but not exactly the results should be, then I added a
back slash at the end like "http://domain.com/" and works just fine and got
exact results it should be. The site configured in the IIS to work as with
and without www. The site works just fine in both www and without in the
browser but as I said a certain results for the script that included that
code shown above gave that results. Any idea, can you help in guiding me to
solve this issue.
View Replies
View Related
I can get to my pages through my private IP, but not my public IP address. This was setup and running fine before under W2k, so it's not a network issue.
View Replies
View Related
I am trying to make a form show at a specific time everday on my webpage. I am inserting the numbers of the the time in a database and posting it to the page. For some reason this is not working for me. Code:
View Replies
View Related
i have a VB Script that will export a certain files from a directory, and this script will run twice a day, once in the morning and once in the afternoon, but am having trouble getting it to work, my code looks like this: PHP Code:
View Replies
View Related
I have a date/time variable type in a sql 2000 database.
Say I have 1/1/2006 1:15:00 PM stored in it. On my asp page, How can I format that to read 1:15 PM? Is there a time formatting function or something?
View Replies
View Related
I have 2 computers at home, they are both windows 2000 Professional. I linked them, i am able to share and access folders in both. I have created a web site in one computer, i can browse it: http://localhost/ALANLORIMER/default.asp. I failed to browse the same web site from another computer, when i typed http://10.208.28.16/ALANLORIMER/default.asp i was prompted dail-up connection dialog box.
View Replies
View Related
how to do the count down timer? which their is count down timer for sepacific day, hour, minute and second.
View Replies
View Related
I have created a form in which people insert there fax number, at the moment it returns an error if a space is inserted in the fax number ie: 0234 76893.
How do I correct this?
View Replies
View Related
I have an application, which simply consists of an Access database being queried by ASP code in a website, running on a Dell PowerEdge 1650 rack mount server (Pentium III 1.4 GHz) with 1024 MB ram. The server runs Windows 2000 5.00.2195 with Service Pack 4.
The application presents HTML tables to users, based on queries made by the user on the website.
Problem is: recently the construction of these tables has been very slow and the scripts time-out. The script timeout is set to about 3 minutes.
The application has been running for 2 years without any problems, well one. About 6 months ago the same thing was happening. I compacted and repaired the database - did not fix it. However on restarting the server it was back to normal, producing the tables immediately.
Now that the same problem is occuring again, neither a restart or a shutdown-restart fix the problem. The straight HTML part is served immediately, but it is evident that it chokes on the tables.
There are two other applications on the same server written in the same style, but much more simple. They are working fine. Code:
View Replies
View Related
I want to track the steps the user has gone through to get to this page and then display links so they can click on them to go back to that page. I would do this as hard code but the problem is most of the pages can be accessed from several different pages.
ex.
a product page a home page and a specials page
the path to the product can be home -->product or
home-->specials --> product
exactly like the viewing link at the top of this page but in asp.net instead of php.
View Replies
View Related
I would like to be able to allow the viewer of a website to download a file when they request it. Like seen at tucows or download.com
Can someone give me some rough pointers on where to get started?
View Replies
View Related
Isn't there some line of code that I can write to tell ASP to treat everything between BLAH and /BLAH as text (including the apostrophe). So that users can type a name of "O'Malley" in a form and I can retrieve it and store it in my database.
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
For my CMS, currently I am using a function for stripping HTML tags.
It's
Function SQLMemo(strSQLMemo)
strSQLMemo = Replace(strSQLMemo, "'", "''")
strSQLMemo = Replace(strSQLMemo, Chr(13), "")
strSQLMemo = Replace(strSQLMemo, Chr(10) & Chr(10), "</p><p>")
strSQLMemo = Replace(strSQLMemo, Chr(10), "<br />")
strSQLMemo = "<p>" & strSQLMemo & "</p>"
SQLMemo = strSQLMemo
End Function
Now, I actually want to allow only the following tags for the messages.
<p>, <b>, <i>, <a>, <em>, <br>, <br />, <strong>, <img>, <center>, <blockquote>, <tt>, <li>, <ol>, <ul>, <div>.
are there any easy way of doing this?
View Replies
View Related
I have a Development server that is running Win2k, IIS 5.0, and ASP enabled. I am trying to gain access to an Access 2000 DB located on a file server within my domain. I'm pretty sure I have all the correct permissions set, but I am having problems when trying to access the DB.
The error is similar to:
The Microsoft Jet Database engine cannot open the file '******'. It is already opened exclusively by another user, or you need permission to view its data.
I'm looking for ways to fix this... Microsoft suggests turning off the ability for IIS to sync passwords. Unfortunately, this is not a viable solution for me.
Is it possible to create a new virtual server that is a share to my file server? Put my ASP and MDB file in there and have it work? Anyone have any other ideas?
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
I'm working on a site that inserts records into an Access database and Access assigns an auto-incrementing id for the record. How can I quickly figure out what id that was just created? I seem to remember there being a function for this....
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