Don't Show The Page As A Part Of URL.

The web page has page1.asp, page2.asp, page3.asp, etc... However, When we type http://www.myserver.com, and go to different pages, the URL will be unchanged. How to do that? Usually, it will be http://www.myserver.com/page1.asp, http://www.myserver.com/page2.asp, etc..., with the actual page.

View Replies


ADVERTISEMENT

Show/Hide Part Of A Page

I'm working on an asp page where I need to be able to click on a link and then show or hide a section of the page. Kind of like folding markers. I can do it by simply refreshing the page but I'd prefer for it to just open and close. Is there a way to do this?

View Replies View Related

Reload Part Of A Page.

is it possible to reload just one table row with out reloading the entire page? Or reloading just a table? i'm not thinking it's possible but if it is it's worth asking a qustion.

View Replies View Related

How To Use Login Name To Be Part Of Another Page?

I have a login page where i validate my user id and password... this part is done... I need to get the user id to the next page i am showing...

Example like:
-------------------------------
Login Page
userid : abc
pwd : XXXXX

Authentication Successful
---------------------------------
Next Page:

Welcome abc ---> i want it here
----------------------------------

Anyone can show me how shld i do it...

View Replies View Related

Hide Part Of Page

I have created a drop down box that picks items (active product lines) from my dbase (sql), once the user selects an item from the drop down, I would like asp to relate that choice to the next table and pop up another drop down box (active products from the above product line chosen).

I'm assuming that there needs to be some function to hide the second drop down box until the first choice is made (I could be wrong here??) so I don't know what the code would be for the page to stop showing anymore information until a choice is made. I usually show code here but this is really a question about code that I don't know.

View Replies View Related

Use Login Name To Be Part Of Another Page

i did not see from that view point of yours. anyway, i guess everyone reading this thread learned something about sessions & querystrings.

View Replies View Related

Update Only A Specifc Part Of A Page

i want to update a specific part of a page every 3 seconds without refreshing the whole page, any ideas?

View Replies View Related

How To Ensure Signature Part Is Lock Together In 1 Page?

I have signature part in my page (which include signature,name and date). This signature part should be lock together. Let say if the information in the page is about 2 pages, automatically the signature part will be in the 2nd page.

But the problem is, the signature on the 1st page while the name and date on the 2nd page. Is there a way to move the signature to the 2nd page? I've tried make it as a footer and include in the end of the page but doesn't work. Any idea?

View Replies View Related

Slow ASP Page Need GIF To Show

I have a basic asp page running that is very slow it has to crunch some info
and when a user hits submit it can take a minute or more for a response. So
what I did was call a second page that should show a gif that is asking them
to be patient.

Unfortunately this never shows (See below). I have tried
other ways as well, but I have been unsuccessful in getting the gif to show.
This has to be simple but I'm not a skilled asp developer so I don;t know
how to do it. Anybody have any ideas?

View Replies View Related

Dont Download A File

i have a file *.num and when i enter the full URL to download it he give my
a 404 error !

but when i rename the *.NUM by *.TXT everything coming ok !?
so how i can tell to IIS6 to accept *.num files ?

View Replies View Related

Dont Do If Recordset Is Empty

Below is code to display in a drop down menu some addresses. There is two things i need to do. One is to not show if there are no records but also there could be duplicate records, How do i stop duplicates occuring...

View Replies View Related

Some Of JPG Files Refuse To Show Up In The ASP Page

Some of JPG files sitting in the same folder show up OK on an HTML page,
while the other do not as if they are not there or their name is misspelt.

Tried low-upper case in an ASP page, and in the files names - same result
Then I noticed that the same files do not show up in the preview pane in the
Windows Explorer althought they still are described by Windows Explorer as
valid JPEG files.

These "wrong" files are not necessarily bigger then the good ones and in
Microsoft Photo Editor they all (good and bad) show up well and they all are
118 Pixels/cm and True Color (24 bit)

What might be wrong with these files? If there is not direct answer, perhaps spmeone recommend me a correct newsgroup?

View Replies View Related

How To Show Address Book In A Web Page

How can i show my microsoft address book email list, and show it as a list in my asp web page Code:

View Replies View Related

Html Email DONT Support

I dont have CDONTS support. i am using the following script. with this, even yahoo doesn't consider the email to be HTML and displays all the HTML tags and treats it as TEXT. here is the code i use! Please dont consider it abuse as i dont know how to encloase the code in TAGS!

<%
mes = ""
IsSuccess = false

sTo = Trim(Request.Form("txtTo"))
sFrom = Trim(Request.Form("txtFrom"))
sSubject = Trim(Request.Form("txtSubject"))
sMailServer = "127.0.0.1"
sBody = Trim(Request.Form("txtBody"))

if Request("__action")="TestEMail" then
TestEMail()
end if

Sub TestEMail()

Set objMail = Server.CreateObject("CDO.Message")
Set objConf = Server.CreateObject("CDO.Configuration")
Set objFields = objConf.Fields

With objFields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = sMailServer
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Update
End With

With objMail
Set .Configuration = objConf
.From = sFrom
.To = sTo
.Subject = sSubject
.TextBody = sBody
End With

Err.Clear
on error resume next

objMail.Send
if len(Err.Description) = 0 then
mes = " Message sent to " + sTo
mes = mes + " EMAIL SENT SUCCESSFULLY!"
IsSuccess = true
else
mes = " " + Err.Description + " TESTS FAILED!"
end if
Set objFields = Nothing
Set objConf = Nothing
Set objMail = Nothing
End sub

Sub Alert(html)
if IsSuccess then
Response.Write "<div class='testRelults' id='testSuccessful'><span class='testResult'>Success:</span>" & html & "</div>"
else
Response.Write "<div class='testRelults' id='testFailed'><span class='testResult'>Fail:</span>" & html & "</div>"
end if
End Sub
%>

View Replies View Related

Join Query DONT WORK

am using a join query below to get multiple results from different related tables to form one. e.g

SELECT DISTINCT dbo.e_Wallet.subscriptions, dbo.e_Wallet.username, dbo.e_Wallet.status, dbo.e_Wallet.suspension, dbo.ewalletx_yr_registratn.email, dbo.ewalletx_yr_registratn.Fiscal_Yr, dbo.ewalletx_yr_registratn.end_date, dbo.e_walletpurse.purse
FROM dbo.e_Wallet INNER JOIN dbo.ewalletx_yr_registratn ON dbo.e_Wallet.registrationID = dbo.ewalletx_yr_registratn.registrationID AND dbo.e_Wallet.email = dbo.ewalletx_yr_registratn.email LEFT OUTER JOIN dbo.e_walletpurse ON dbo.e_Wallet.email = dbo.e_walletpurse.email AND dbo.e_Wallet.registrationID = dbo.e_walletpurse.regID
WHERE username = 'variable'

however it dosent seem to work or show any results on my asp page. What is wrong here ?

View Replies View Related

Copy Part Of HTML Table To Another HTML Page

I have a table having 3 columns. There is a checkbox for each line. I
need to get those lines whose checkboxes are checked, and show those
lines to another webpage. Is there any way to do that? My concern is
that all information in the table are in <tb></tb> pairs without any
name tag. Any idea?

View Replies View Related

On Error Resume Next, How To Show The Rest Of The Page

I'm on the last piece of this project, when a user goes to this page "myfolder.asp" it shows the contents of their folder.

If they don't have one created yet, I want to give them a friendly message: "You have nothing in your folder!" , and continue with the rest of the HTML code, but then ignore the Repeat Regions and dynamic text thats inside the HTML.

Right now I have it woking if the table exists, it shows the records. If I delete the table, I have this message at the top of the screen and nothing else: "You have nothing in your folder!"

Here is the code:

View Replies View Related

Script Dont Process My Email List!

Im working on an automated email sending script which work real fine. I have to send 2 different list of email ( contact1 and contact2) of an acces database file (.mdb).

The fact is that my script work well but for some reason it only send the second list of email (contact2).

The script process the list contact1 without any error but obviously it isnt sending mail to those email.

It seems to be an easy fix mistake but i cant figure out why the first contact list isnt sending. Must be a "If then" mistake or something with the loop i think.

Heres the code: ......

View Replies View Related

Formview And Gridview Combo Issues (gv Dont Update But DB Does)

I have a formview which im using to ammed records in a DB via a gridview. When an item is selected on the gridview its details are shown in the formview. Ive wrote the update statement for the Insert button in the formviews edit mode.

If i edit a record in the formview this updates the DB, but not the gridview striaght away. I have to click on one of the select buttons on the gridview to update this. I have gridview.databind() on the click event of the insert button of the formview and on pageload, if its a callback. Code:

View Replies View Related

Index Server And PDF - Results Show In Admin Console But Not On ASP Page..?

I have set up Index Server in IIS to search my intranet. I've installed the Adobe PDF filter so that words from PDF files are included.

I can get results from PDFs when querying the catalogue in the Windows console. However, I have tried various ASP Search pages and they all ignore PDF files from a browser (even though the scripts include the pdf extension).

View Replies View Related

How Do I Reload The Page To Show New Info With Multiple Submit Buttons

i am new to asp and web designing, and was wondering how to reload a page so that a different set of images appear, depending on which submit button is pressed. Code:

View Replies View Related

WHERE Part Of SQL

strSQL = "SELECT user_name, password FROM [tblLogin] WHERE user_name = '" & Request.Form("user_name") & "' AND password = '" & Request.Form("password") & "';"

Is using AND the correct way to use 2 comparisons in the WHERE part of the SQL??

View Replies View Related

Sort By Part

I have a database table, that I need to sort by PART of the contents of a field (named rFieldName in the table):sample contents of this field are:Code:

qid_5_question_1
qid_12_question_5_0_1
qid_12_question_5_0_2
qid_12_question_5_1_1
qid_12_question_5_1_2
qid_12_question_5_2_1
qid_12_question_5_2_2
qid_12_question_5_3_1
qid_12_question_5_3_2
qid_6_question_2I need to sort his field by the value that appears AFTER the 3rd underscore, and if applicable BEFORE the 4th underscore
Is this possible - can you help please - I have no idea where to start on this as I've never had to try to do something like this before.

View Replies View Related

Use Only Part Of Field

I would like to use the last 10 characters of a Session object. Is this possible in active server pages. I am familiar with the user of Right$ in visual basic but I after trying serveral conatations I have had to give up.

View Replies View Related

Reg Exp To Remove Part Of String

how do I get a reg exp to remove part of a string? -

I have: '/page/txtonly/index.asp' and I want to remove the '/txtonly' to end up with: '/bobby/index.asp'.

View Replies View Related

Display Part Of A Record

I need to limit how much of a record is printed to screen. I just want text up to the first full stop.

View Replies View Related

Remove Part Of String

Following java script code to get subscriber ID, its value is like 975683678-28_luxap01s.southernlinc.net, I want to leave number there and cut starting _ part, does anybody know how to remove the character starting underscore "_"? the final value is 975683678-28.
<%
subsciberID = Request.ServerVariables("HTTP_X_UP_SUBNO") ;
%>

View Replies View Related

Extracting Part Of A String

we have a database with a lot of products in it. and for some reason one fo the feilds is set up like "<img src="images/something/image.jpg" />". they should be set up without the html but because of the way they are set up theres no way i can use them outside of the root directory.

I need a way to just pull the first 10 characters off the string. which would be the <img src=" part, and then pull off the last 4 characters " />. so that i am just left with images/something/image.jpg.

I can sort of get the first part to work by using Mid(string,10)

but how can i remove the last 4 characters?

in php the function would do the ending characters if you made it a negative number. but Mid(Mid(string,10),-4) doesnt seem to work.

View Replies View Related

ServerVariables - Request Only Part Of The URL

I am coding a login system with login form etc. and when users are denied access to a secure page within the secure area, I want to obviously send them to the login page to check who they are and check they are allowed to view the secure content of the site.

The problem I am having is that currently, if a user is denied access to a secure page, they are sent to the login page. Once they are granted access, they should be sent back to the page they were originally trying to view and not to the main menu.

(The secure area has lots of pages and users would not be happy if they had to trawl through hundreds of pages to try and find what they wanted.

I know I need to use the ServerVariables collection to retrieve the ("URL"), but I dont want to just use this as a querystring parameter when I send a user to the login page.

This would be insecure because someone out there would find my little login script and start using it on their own site by sending users to my login script to login, and then using the querystring parameter to redirect the user back to their own site.

All I want to do is select the part of the URL after the http://www.somedomainname.co.uk/manager/ part. I cannot use a Left select or right select option because my login script will be put onto lots of different websites, and I would have to change the Left select on each different site.

View Replies View Related

Using Wildcards In The 'Where' Part Of An SQL Statement

Basically, what I want to do is to group records according to the first letter of "username" (the primary key).

SQL = "SELECT order_date FROM cart_order WHERE username = 'A*' ORDER BY username"

I've tried using a 'wildcard' (*) in the SQL statement and it doesn't work. So, how does one filter out records according to the first letter of the cell's data?

View Replies View Related

Refresh Just Part Of The Screen?

I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?

Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...

View Replies View Related

Extracting Part Of Text

Is there a way of extracting only part of an entry retrieved from a SQL database. For instance, if I have an article of 4000 characters can I extract only the first line of the article and them put a link to the full article after the extracted text.

It is something I have been trying to master and will help me display my retrieved recordset data better.

View Replies View Related

Print Part Of An Asp File

I have link from a page.If you click on 'pedir presupuesto' it goes to a form, when someone clicks submit on the form the next page sends an e-mail, and must print part of the table from the original asp page (0.asp - from the first darker grey header to the second one).

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved