Well I made the mistake of making a thread before searching the forum. I just set the cookies to ".domain.ext" instead of "www.domain.ext". That made the cookie accessible on both domains.
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...
Instead of checking to see if the listbox exists, maybe check to see if some type of save variable is set. Another option might be to make the listbox invisible instead of removing it completely. Some code would help though to what would work.
You might also need to put single quotes around the order id like this:
WHERE orderID = '"& intOrderID & "'"
It might not be correctly finding the end of the sql query.
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...
The DIV is most likely your problem. I think it might cause problems directly referencing the form elements. As a test, tempoarily remove the DIV. The might be as simple as adding the name of the div to any javascript references to it's elements.
You will need to reload the page to do the 2nd SQL query. What I would do is add the following to the first select menu: <select onchange="javascript:document.f.action='<your current asp page name>';document.f.submit();">
Then for the 2nd drop down menu, do a check to see if request.form("s1")...
As far as I know it is not possible to change the variable on the fly. An ASP page is processed on the server and sent to the browser as an html file. So to change your SQL query, you'd really have to reload the page so that the server can process the new sql squery. We do exactly what you're...
Instead of trying to write the category within the function, you could just pass that information to the function in the function call. I assume you have the function call in the body tag onload event. Change onload="mmLoanMenus();" to onload="mmLoanMenus('<%= rsJewlry("category") %>');"...
Yeah I was going to try a conditional statement similar to that, but didn't think it would process. I think I might be stuck rethinking the entire logic and trying to eliminate that middle page.
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 think you would essentially have to use the spam technique of loading a new popup window on exit. The form would submit to that popup window on exit. The window could be automatically closed after saving the data. The Javascript forum would probably be able to assist with actual implementation.
When you have file uploading, for some reason you won't be able to use request.form. There is a way around it though. I think you can use upl.form instead of request.form to pass any parameters. That uses Server.CreateObject("Persits.Upload.1"). So you'd have to make sure your server has...
It should be as simple as checking to see see if the filename has been entered. We use AspJpeg on our website, but we use it to only upload & format one image at a time. We did have to add error checking to ensure that a blank form was not submitted.
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.