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.
I maintain/enhance an e-commerce site originally developed by someone else using ASP/MS SQL Server.
The site uses a lot of session variables to store everything from the shopping cart to user sessions.
The problem is that now we are receiving a lot of customer calls that they cannot place their orders.
Just before they checkout they get an error page.I have no problem placing orders from my computer and we do get orders from other customers.
I believe that when the application is getting values from the session variables to store it in the database, it faces with the problem as those particular users may have tighter security measures enabled on their browsers i.e no cookies :-(
Right now we have plans in place to migrate to ASP.net ( 2 months minimum) but we expect a huge traffic later this week as some magazine ads are out. And since most customers might have installed SP2 for Windows XP recently I do expect a lot a lot of them to have their cookies disabled.
So I need to FIX this problem ASAP. Any suggestions?
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.
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.
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?
I have a site that I'm trying to migrate to ASP.NET from ASP, and the foremost stumbling block I'm hitting is session state between the ASP and ASP.NET applications. In order to access this information, I'm doing a HttpWebRequest from the ASP.NET side into an .asp page, passing the session name on the get in order to request it from the ASP side and write it back to the response stream, giving ASP.NET access to it. Of course I change sessions each time I make the call from the ASP.NET side.
Soooooo, I'm thinking to myself, "Self, shouldn't you be able to fake out the server by getting the session cookie from the initial usage of the asp, pass that data to the ASP.NET, and use that to send a request back the ASP side under the appropriate session?"
From a real high level, I enter the site via a .asp page. This page in turn calls .aspx page from within a frame ......
I want to create an administration page which lists all the current users who are on the site at the moment.
I know coldfusion has this feature built in using the SessionTracker class... does ASP have something similar? If not... is there any way I can just iterate through all the session files on the server...?
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.
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?
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
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 .
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?
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?
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?
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).
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?
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.
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
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?
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.
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...
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.
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
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.
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.
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?
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
I need to access a file on a remote FTP server. Assuming I have all the FTP login credentials, how can I get that file (.txt file) and copy it to my server (so I can use it for my database). I need to have it on my server before I use it because I am not allowed to do anything with the remote file but copy it. (bandwidth crap, or so they say)
Completely new to technologies like CSS, but trying to learn fast.... I've seen a few sites with "very sophisticated" navigation tools that provide menus that both drop down and expand horizontally...very similar to the menu tools we're used to in Windows applications. Anyhow, in an attempt to mimic this, I've looked at a web few sites and studied the source files. It appears that there are two schools of thought here.The first uses unordered lists and the second uses tables to hold the information. Both then use a combination of CSS and JavaScript to control the behaviour.Which really is the method of choice?
I'm working on a site that is just *extremely slow* on certain pages that are very database intensive. Now... I've worked quite a bit with databases before - and this is different. It's ridiculously slow. I've looked through the long ASP script (it's a calendar listings page, with some more db stuff under the calendar). There's not really anything else I can do to fix up the code. I've consolodated SQL statements, converted everything to GetRows... closed my objects immediately... etc. I've also added indexes to the db fields in my WHERE clause of SQL. The page isn't *that* complicated that it should take so long. Sometime it even time-outs. I've tried so much, and nothing is working. Could it be that I need a dedicated server? Something I'm missing in the code? (It's really long so I'd prefer not to post it if possible but I might). MySQL