Start A New ASP Advanced Forum?
May I boldy suggest that a new advanced ASP forum is created (ideally within the "Advanced Development Center", but otherwise as a sub-forum of this forum) for ASP questions and discussions which are more challenging/complicated than the norm? Code:
View Replies
ADVERTISEMENT
my company is in need of a shoppingcart that has adavanced inventory management in the admin, i.e. calculates 'cost of goods sold' in reports and FIFO etc. Anyone know of any?
View Replies
View Related
Is there any resources (code, samples, snippets, methods etc) anyone knows of creating an advanced search in ASP linked to a microsoft Access 2000 database?
I basically want to query a database from attributes stored, e.g male, height etc using radio buttons and a text input form.Im using Dreamweaver MX and a DSN.
View Replies
View Related
I already have the code which does simple paging [First] [Prev] [Next] [Last] . how to achieve the [...] feature?? That is if there are 1000 pages, I don't want to display the page link for all the 1000 links in one go. I want only the first 10 page links to be shown on one page then display [...] for the user to click and see the next 10 page links.
I have been searching for this feature for a long time but most of them talks about the simple paging only. Useful links and complete source codes.
View Replies
View Related
I have had a project on my plate for months with noone who knew CDONTS enough to help. I do not believe there is anyone better to ask than you. Here's my problem. I use CDONTS on 2-2k servers with the basic SMTP server included with IIS. Because of the corporate firewall I am unable to use this method to send email to an external email account.
What I need to do it use CDO 1.2 and attach to an outlook application on the server which has access outside our network. My problem is every tutorial I find seems to be wrong and noone seems to know how to make this happen.
View Replies
View Related
Advanced DHTML Dropdown List component (Javascript,ASP,.NET,PHP)
enhances usability of large dropdown lists with type & select feature.
It suggests possible matches for entries you type in the input box.
View Replies
View Related
I'm trying to create a search on my asp form that will ingnore spaces, and, or and replace them with % for a wild card search. now if they type in the box Go Home it will only find Go Home. Right now I'm just trying to get it to take that Go Home and put it in Go%home.This is what I'm using for this field.
pcat = GetParam("category")
if not isEmpty(pcat) then
if not (sWhere = "") then sWhere = sWhere & " and "
HasParam = true
sWhere = sWhere & "e.category like '%" & replace(pcat, "'", "''") & "%'"
end if
Everything i've tried doesn't seam to work.
View Replies
View Related
I need some help with creating an MS Access table using ASP. I'm familiar with "standard" SQL statements, and also with the ASP methodology/syntax for creating a simple MS Access table. However, the table I need to create is a bit complicated, because:
The primary key is a FORMATTED auto number (i.e., if I were to define this field directly in MS Access' "Table Design View", I would put "Acme-"000 in the FORMAT field to create an autonumber that automatically generated a series like Acme-001, Acme-002, Acme-003, etc.)
The first part of this formatted autonumber is a variable. So, with this in mind, how do I write an ASP statement to create a table that has an autonumber field as a PRIMARY KEY, formatted per the above?
View Replies
View Related
URLURLI need help writiing an advanced conditional statement.I want to display an image if two recordset values = 1 or other various number combinations.
This statement works with one, how could I edit this statement to include two recordsets values? Say I want to add another feild say "recent" to this statement and it has a value of 2
Code:
<% if Recordset1.Fields.Item("progress").Value = 1 then ' Adv Conditional Region %>
<% end if ' Recordset1.Fields.Item("progress").Value = 1 %>
View Replies
View Related
What I want to do, is in my admin page, where I have all the users details, I want to be able to see when they last logged in, how many times they've logged in, and which user's are currently online? Just so that it can be used for reference, and also as a sort of extra security.
Also, is there any way that I can make the login more secure? At the moment, it only uses Sessions, is there anything else I could do to make it more secure?
View Replies
View Related
Imagine you have a databse memo object with the description of a town.
Imagine if you wanted a peaceful town, you might type "peaceful" in a text
box and then click submit, the query run will be:
WHERE towndesc LIKE '*" & Text32 & "*'
Now imagine if they type "peaceful trees"
How do you get it to automatically check:
WHERE towndesc LIKE '*peaceful*' AND towndesc LIKE '*trees*'
Because it can have one description or the user can enter 5.
Or maybe you want the user to be able to enter key words like AND OR
and use them within the query.
View Replies
View Related
I am trying to debug an issue with sessions in my ASP 3.0 web
application, which runs fine on WIN2K Pro and WINXP Pro, yet fails to
function correctly on WIN2K Advanced Server.
My actual application is using sessions to store username, and security
level (permissions) for my application. The default.asp page is the login,
where these values are set. I have triple and quadruple checked my IIS
Settings to make sure "Enable Session State" is checked, and the
session.timeout is set to 120.
Now if I remove my application, recreate it
in IIS admin, stop and start the IIS services, and run my application, the
session variables seem to be saved across the first redirect to my
main_menu.asp page. Here I have several menu choices, which are dependent
on the session("seclevel") to determine which they can or cannot access.
Here is where it seems my session vars are lost, since when I click on any
choice, I get redirected to the log_out.asp page, which abandons the session
and returns the user to the login (default.asp) page. Code:
View Replies
View Related
if there is a way to validate email addresses further. For example I just received an email from this person:-
cvx@fcxgf.fgfd
Obviously some fool trying to f**k with my form and send me a test email.
Because an array of countries have different extentions, can I not somehow validate for that?
I guess my validation is picking up on the @ symbol and the fact that some chars are needed before and after the @ symbol and a dot exists. But can we validate this further to prevent me getting this kind of email?
View Replies
View Related
Can anybody point me to a good tutorial/manual on advanced server-side form validation including validation of fields against unwanted strings such as the use of "http://".
View Replies
View Related
I have a SQL database, which runs a basic search engine, it has about 3000
links at the moment. I am currently keeping track of the click through rate
and displaying in, below the link so it says HITS TODAY / HITS TOTAL.
What I would like to do now is to take it one start further and be able to
offer people the opportuntiy to have a small piece of code in their site,
that will be able to update another hits counter in my SQL server.
I obviously dont want to allow people to my SQL or open the 3306 port to the
public, I would just like to be able to load a small java / vbs or what
ever, to be able to write to my SQL..
I use http://www.counted.com/ at the moment, but I want to be able to do
just very basic hit counter, I think from looking at how other people seem
to do it, I might need to do this using Java Script
View Replies
View Related
I have a Hello World app written in VS2003 C# it runs fine on my local
PC using IIS5 XP Pro Dotnet1.1 but when I up load it to my site I get the
following:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type 'WebApplication1.WebForm1'.
Source Error: Code:
View Replies
View Related
I know HTML and i want to start on somethign mroe advanced. Can anyone tell where do I start. I want to stat simple and learn the veyr basics first.
View Replies
View Related
Recently my IIS link in admin tools will not open the iis control panel. I have been doing asp development on the machine for some time so it seems odd this problem has all of a suden happened. I read somewhere a file (iis.mcs?)could be corrupt? Does anyone know how to fix it?I ask this place 'cos I am thinking that someone using ASP too also has had a similar problem or can point me in the right direction.
View Replies
View Related
I wan to start learning asp.net .is it going to be easy to first learn some asp and only then move to asp.net or can I start straight with asp.net.
View Replies
View Related
How do i require ONLY 443 on one site and ONLY 80 on the other. The secure portion does not use Host headers. I have 2 websites on the same machine
SSL.MyMachine.com
Normal.MyMachine.com
I want the guy who hits SSL.MyMachine.com to only be able to use port 443 and never port 80. I want the guy who hits Normal.MyMachine.com to only be able to use port 80 and never port 443. How do i require ONLY 443 on one site and ONLY 80 on the other. Becuase the secure portion does not use Host headers.
View Replies
View Related
Here is how it goes in simpliest terms.
We have a link to an ecommernce page, it uses sessions
(which we do not have access to change)
I want to create a popup window that will create a new
Internet Explorer browser to open (at a page i specify).
I dont mean like the javascript where it just opens a
window and contains all the info that u have (same as if
you hit ctl-n) I mean lauching Internet Explorer new
again, going to this specific site to aviod the session
that it is already in?
View Replies
View Related
I know something about HTML and no more but recently i really like to learn ASP but unfortunatly no body know ASP here. How can start asp and what should i know before i start learning ASP.
View Replies
View Related
Is there a way to start the Primary Auto_Number at a specific number? Usually it starts at 1, but I would like to have it start at 5,000
View Replies
View Related
Here is the process on the site before I ask the question:
User logs in
session is created based on username and userid
user edits a record in the db
a hidden field with the userid session is inserted in the db to show
who edited the record
I had a user ( mike, id -1 ) edit a record today but the userid that
got inserted was 2 ( scott ). mike doenst know scotts credentials and
scott has never used the PC that mike is using, matter of fact scott
hasnt even logged into the site today.
View Replies
View Related
The "Session_OnStart" event doesnot fire if the website has .htm file as the
startup document. If I change the extension of the default document from
..htm to .asp then I can see the event fires, But now I cant change the
default page to .asp.
How can I make the Session_OnStart fire in that situation?
View Replies
View Related
my user table start off counting 1, 2, 3... (auto_number) and i would like to start it off at 100. how do i go about doing that?
View Replies
View Related
I've been using this installation of .NET for about 3 months without problems.After not using it for about ten days, I came back to my project and when I tried to run it with Debug>Start (F5), it comes up with this error.
"Error while trying to run project: Unable to start debugging ohn the web server. Could not start ASP.NET or ATL server debugging. Verify that ASP.NET or ATL server is correctly installed on the server."
Before I start de installing things,does anybody have any simple clues as to why this is happening?
View Replies
View Related
I want to run a asp website in my webserver and I don't know how to setup a asp server.
View Replies
View Related
I have been running IIS on Windows 2000 for several years with no problem.
Today, when I clicked on the system tray icon and clicked start service, nothing happened - no error messages. IIS just ignored me completely and would not start.
I am about to try a computer restart - but has anyone else run into this problem?
View Replies
View Related
i have a database that maintains all company policies and now i have a request to print out all policies, with one button click, sorted by department.
does anyone know of a way to start a "new" html page or create a printer line break? i'd like each policy to start on their own page.
View Replies
View Related
I would like to make a database that contains Picture, Name Job description, gender and web address. The database should be able to hold at least 1000 profiles.
What program would you sugest? Where do I get it? Are there any online tutorials you would suggest?
View Replies
View Related
I've installed Windows Server 2003...I created a
HelloWorld.aspx file and its associatied HelloWorld.vb
file and stored both files in the wwwroot directory.
When I put http://localhost/helloworld.aspx on the Address
line of my IE browser and press enter, I get the following
error msg:Access to..."C:WINDOWSMicrosoft.NETFrameworkv1.1.4322
Temporary ASP.NET Files oot2135a5088d69a834" is denied.
This works on my laptop which has XP Pro installed.
View Replies
View Related
my understanding was when IIS restarts that time when the first session is requested application_on Start is called. My session time out is 1 minute. after every session time out happens when the session is requested then it goes to application_onStart first. Isn't application on start just happens only when IIS restarts and first session requested.
View Replies
View Related