Is it possible to access cookies for another domain?
Our website has an admin section, but it's all on a secure server. So the address starts with https and the cookies are separate from the main website cookies. I want certain features of the main website to be slightly different if a user...
I have been using ASP for years, but am now just learning PHP. I'm creating a website which I want to use an application variable. Does PHP support this?
Here is the scenario:
The website is for my parents to use while living overseas. One feature that I wanted to include was a basic...
I have a product search page that uses two different SQL queries. If they search by size it is just a regular SQL query, but also retrieves all the size info. If they search by brand only, it uses a select distinct and excludes and size info. It all works other than when the person tries to...
When someone clicks on a button on my page, it goes to another page that does some parsing and then autosubmits a form. This takes them to a new page. This works fine, unless they click back. Then they get to the page that just autosubmits a form. The page says: 'warning: page has expired'...
I have a table with 2 different price columns. One is a special price for a different currency. Sometimes that column is blank. Is there a way to properly sort the query on both columns together? I don't mean order by price1, price2. I want to sort them as if they were the same column...
Is there a way to execute a sql query that uses the distinct clause on some columns but not others? For example, say I had a table with the following columns: id, name, color and size. Then I wanted to select all the distinct names in a certain color, but I also needed to retrieve the id &...
Say I have a database with 2 price columns, price & sale price. Is there any way I could sort by both together? Sale price would be null if the product wasn't on special. I want to sort the query by price, but I don't know how to make it take the special price into account. I might be stuck...
Is there a way to execute a sql query that uses the distinct clause on some columns but not others? For example, say I had a table with the following columns: id, name, color and size. Then I wanted to select all the distinct names in a certain color, but I also needed to retrieve the id &...
Apparently most web browsers have a limit of 20 cookie values per domain name. We are redesigning our website and wanted to switch to using more cookies than session variables. Is there any way to use more than the maximum 20 values (like setting a cookie to a different domain name or...
Hello.
I am having some problems creating an SQL query to do exactly what I want. Say the table is about widgets, I want to query only widgets available in both blue and red. If I just do WHERE Color = 'Red' or Color = 'Blue', it will get everything in either color. So how can I make it only...
On a php script I saw a command to check a particluar webpage for a certain link. The problem is that my website is written with ASP. Does ASP have a similar command or a way to do this? Basically we do link exchanges with hundreds of websites. Periodically I need to check for return links...
We're currently redesigning our website. As it is fairly high traffic, we need to be as efficient as possible. When a person searches for a product, I want to save this search. I'm not sure whether it would be better to use cookies or session variables. My thinking was that using session...
Hello.
I want to use include files on our website, but I am held back by the fact that they loaded before the script is executed. I have product reviews that I want displayed in the middle of a dynamic page. Currently the reviews are obtained from the SQL database. This is putting a lot of...
Hello.
I'm tyring to track our online sales to the exact url that brought them to the website. In the past we used a drop down menu on the registration page to ask them the referral. Unfortunately these options were too vague.
So I'm trying to capture the referral URL throuh code. I figured...
Hello.
I have a sitemap that has been causing me some problems. First it kept getting ranked above the content pages that in linked to. So instead of having good titles & descriptions for my search engine listings, it would be 'Sitemap'. I added a <META NAME="ROBOTS" CONTENT="NOINDEX,FOLLOW">...
I have a page that opens up in a new window with a javascript window.open function. The page needs to pass a string value to this window. Whenever there is a '&' in the string the remainder of the string is dropped by the new window. So if it passed say 'peanut buter & jam' the window would...
Ok I have a question about application.lock
I want to put infrequently changed data into application variables. I also have userid as an application variable which is updated everytime someone registers. I heard that locking the application variable, makes all application level variables...
Are there any drawbacks in storing some SQL queries in application variables to eliminate some SQL connections? We currently have a very busy SQL server and need to cut back on the number of connections. Is there such a thing as too many application variables? Right now we have our product...
Are there any drawbacks to using application variables? I want to minimize the SQL connections on my website to improve performance. I think applicaton variables might be my answer. Is there a problem with creating too many application variables? Right now I have all our product brands in...
Lately I've been having problems with my Windows XP Pro. Explorer won't let me cut and paste files. It just results in files that I cannot access. Some files cannot be deleted at all. Anyone know what the problem could be? Also how can I delete these files?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.