"Bookmarking" A Test, Meaning Start
I am working on a training module wor work in ASP. I would like the user to have the ability quit at any time and come to finish the test later. I know that I will need a DB to track the variables but cannot figure out how bring them back when user logs in again. Maybe somebody can give me an example? I work with ASP only 3 month.
View Replies
ADVERTISEMENT
was the instr() in asp means... meaning - why it is used.
View Replies
View Related
I am building a shopping cart where orders are send by email. Even though it says it's sent, I receive nothing. So I did a test script to send an email using CDO since we are using an exchange server for email and it's on the same network as the site. Code:
View Replies
View Related
I have a web application in which users are validated before entering the web application. This application offers various online courses created by my company. The problem is that when users log out from this application & whenever log in next time, they have to re-start the course.What code should I write so that users will see the same page on which they were before logging out? Is it possible to bookmark that paricular page in a database with each user's id? Also, I don't want to use cookies because sometimes our users access the same web application from different machines
View Replies
View Related
Not sure if l can even explain this one, and have no idea if it can be done. Currently working on a project where pages are dynamically generate. Each page is basically a very long report of whatever ....
View Replies
View Related
Have an app which dynamically creates table rows depending on records, these can be several hundred (don't ask). Hence a very long page at time. Each row includes a hyper link to a new page, and a link back to the original page.
Is there any method (maybe via js) where on leaving the second page l can redirect the browser to the table row the end user clicked on? Hence the bookmarking. Can do this via Visual Basic on the desktop app, but can't work it out on the web app.
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
My clients have 4.0 and I can't seem to get 6.0 off of my W2K machine. Any suggestions?
View Replies
View Related
I have:
Dim foo
Set foo = Nothing
If foo = Nothing Then
response.write "foo is nothing"
Else
response.write"foo is something"
End If
I get an error in the line "If foo = Nothing Then". It says:
"Object variable not set"
How then do I test if something has been previously set to Nothing?
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 have always used this in ASP to test if the client is accepting cookies:
<%@language="VBScript"%>
<%
Session ("nc") = 1
If Len(Session("nc")) = 0 Then
'Cookies Off
Else
'Cookies On
End If
%>
But I only ever tested it in Microsoft Internet Explorer 6 though not sure. Anyway with Microsoft Internet Explorer 5.5 SP2 Len(Session("nc")) <> 0 always whether cookies are on or off. Can anyone suggest a better cookie test that will work in most browsers?
View Replies
View Related
I have a PC running Win XP Home and want to learn how to write ASPs.
In order to test them I think I need a web server installed on my PC. Since
I don't believe IIS can be run under Win XP Home I downloaded and
installed the Apache web server. I'm stuck at this point and would appreciate
opinions on whether I am on the right track, and, if so, advice on the following.
1. Having written a test asp page how do I use Apache to test it?
2. Can Apache handle VBScript on an ASP page? From the info on the
Apache web site I don't think it can.
View Replies
View Related
iam making asp test engin and i dont want the user to use the keyboard
so is there a way to disable the keyboard of the computer that have the
exam on ? its not a website world wide. i will make it on my room computers.
is it possible ?
View Replies
View Related
The current code (see below) works. But, I wonder if there's better way to test if a node object has something or not.
<%
...
' want to find if /Root/Node's id attribute is 1,
' if yes: get its child node <num>
Dim nodeA : Set nodeA = xmlDoc.selectSingleNode("/Root/Node[@id='1']/num")
' test if nodeA have something
If TypeName(nodeA) = "Nothing" Then
' -- NO: nodeA has nothing
Else
' -- TypeName is "IXMLDOMElement"
' -- YES: nodeA has something
End If
...
%>
I have tried other functions, such as IsEmpty(), IsNull(), IsObject(): none can
get the result I wanted.
View Replies
View Related
What I have is a ASP test script that can grade online tests and give the test results at the bottom of the test page itself. What I need is the test results to be passed on to a test results page with the score of the test that was taken. I have a problem getting the test results intact over to the test results page.
View Replies
View Related
how do i test for SQL injection ?
sdo i do a SELECT statement in my username login?
View Replies
View Related
I have an asp script which is posted to by a form. On the script I need to know if cookies are enabled.
Therefore I need to make the form post to a different script which sets a cookie and does a response.redirect to the main script. However, how to I make the request object get forwarded to the second script with the response.redirect?
You cannot use server.transfer as the test for cookies will not work properly.
View Replies
View Related
In ASP VBScript,is there a way to programmatically test if a SQL Server database server is alive?
I want to use a connection string to a mirrored DB server in case the primary DB server fails. This failover is easy in ASP.NET, which supports DB mirroring and a the specification of a secondary server in its data provider.I want to hack together the same thing for my classic ASP apps.
View Replies
View Related
How to get test.doc from following string Using VBscript
"Files uploaded:test.doc (54326B)"
File size and file name may vary dynamically,and I have to pick file name with ext from them.
View Replies
View Related