One Database And 2-3 Sites

i have one database and 2-3 sites, and i want to connect to this database (access) from all my sites with asp. i have my own server.

View Replies


ADVERTISEMENT

SSL In Sites

I'd like to use SSL encryption to provide secure pages in an ASP.NET application. I know I can specify complete URLs (e.g. https://www....), but for several reasons, I'd like to use relative URLs.

Is there a way to do this and if so how? Also, is there a simple way to specify at a "root" level in an ASP.NET app that ALL pages should be secure automatically?

View Replies View Related

Run Two Sites

We have been assigned the task of running two ASP sites on the same IIS server. Currently we have site A running as http://SiteA on port 80 as the default site. Can we run another SiteB on port 80 as http://SiteB.? We have created another website as SiteB but if i try to configure it with port 80 it gives an error message that "Another site mayalreasy be using that port".

View Replies View Related

Getting Other Sites Using HTTP

Cold Fusion has this tag called <CFHTTP> which allows you to grab the contents of a web site and put it in a variable. It works well because we can grab our dynamically generated header and display it on our cold fusion sites.

We have a couple of ASP sites and we want to do the same thing for them. However I am not sure if ASP has the same exact type of tag. Does anyone know?

View Replies View Related

How To Use Different Sites In IIS On WinXP Pro

Probably way off the mark here, but I have IIS running on my WinXP machine
and I thought I could host multiple domains over the old Win98 method where
I could only have the one?

All I can see at the moment is that I have a Default Web Site, which is
associated to MyPC, and all I can create is virtual directories/folders
within this default location. This means that instead of me being able to
create the desired effect of: Code:

View Replies View Related

Same Sessions In The Two Sites

I am using two copies of that website ... both copies are under same domain but in different folders ... In my site, there are some pages which are not available to everone .. the site requires from a user to enter his/her username and password .. I use session varibles to check if the user is logged in or not on every single page ...

The problem is when I log in the first copy of the site and then move to the second copy ... the second site things that I am logged in !! this is because I use same session varibles name in all copies ... I can fix this problem by changing session varibles names in one of the copies ... but this will mean I have to modify 100 pages ... is there any other solution for my problem?

View Replies View Related

Updateable Web Sites

I'm looking for some code that will enable me to create a updateable web
site. So when I design a the front end all I need to do is drop in some
server variables on the html pages and the asp code does the rest via a
database.

The code would be portable therefore small changes will allow me to apply to
many sites, ideally it should also contain a text editor.Is this feasible ?
I've looked at cms, but this doesn't seem to give enough flexibility or am I
missing something ? and finally asp.net has some sort of portal system
(matrix), how does this fit in ?

For the moment I think the best way forward is this code (or framework) that
will enable the client to update, until a better sollution.

View Replies View Related

One Server - Many Web Sites

I deleloped a "template" web site for a national organization. They have 2000 members and wish to offer this site to each member. Some members will have their own domain, others will not. Regardless, each site will be hosted on one server by the organization. Here is the problem I am facing. Yesterday, they did their first test of this template. The client sent me this url - http://www.atra.com/~atra_member

When I went to the address, I noticed any reference in the site to a session variable defined in the global.asa was not showing up. From past experience, I seem to remember that the .asa file needs to be in the root web, yes? Seeing as they will have two thousand of these templates on the same server, how can I achieve what I am trying to do here. I want each site to be easily modified for each client. The only thing that needs to change on each site is address, name, tel., fax, etc. I thought a single global.asa file and session variables would do this hence my approach.

View Replies View Related

Viewing IIS Sites

I have three PCs connected in a workgroup, all have Windows XP.On one PC, called MF1, I have IIS installed.In IIS I have a virtual directory called dbsite, pointing to a folder c:dbsite.In a web browser I can view the site via http://localhost/dbsite, or http://MF1/dbsite.

how would I allow the other two pcs on the network to access this site.

View Replies View Related

Keep Cookies Or Between 2 Sites

I have 2 separate web sites on 2 different boxes

www.xyz.com on box 1
www2.xyz.com on box 2

Users log into box 1 via regular ASP/Database authentication, and I keep a session variable to mark authenticated users. There's a link that would send users to box #2 at www2.xyz.com. How do I check whether these users are authenticated or not? I do not want to present a login screen again. Is it possible? If so, what are ways to do it, if not
session/cookies?

View Replies View Related

DC's Not Replicating When In Different Sites

We have one domain with a mixture of NT PDC's one Win2K DC (which was the
first installed) and 4 Windows 2003 DC's.

I created our sites as per MS documentation and created the subnets that
match each site. I moved each server into its own site. I then create the
Inter-site transport with IP. I create one call "All Sites" and copied all
sites into it.

Login scripts seem to get replicated eventually. New users don't seem to get
replicated and DC's never seem to find TS license server. There aren't any
messages in the Eventlog on any of the DC's.

If I move all DC's back into the Default_First-Site things start replicating
immediately. Code:

View Replies View Related

Extracting Other Sites Content

we have a site, that has a link to a online PC cart that we are registered with. Trouble is, when the user goes to the other site, we obviously no longer have our interface wrapped around the page.

We can do this with an iframe, but it wont vertically stretch the content (a scroll bar appears). Is there any way in ASP, to call a url, and say, insert that url into a <td></td> on our page?

View Replies View Related

Serverside COM-Objects In ASP-Sites

is there a way to use COM-objects in ASP-Sites so that the COM-object have to been registered on the serverside only, but not on a remote client?

View Replies View Related

Blocking Referring Sites In ASP

How do I block referring sites in ASP using VBScript?Like blocking referrer's from:

192.025.215.001
and
altavista.com

View Replies View Related

Searching Remote Sites

Is there some way to search a remote site. I want to create a site that will take some information from a client in a form, and use that information to search a website and take certian results and display them to the client. I think that travel websites like expedia and last minute work like this.

View Replies View Related

Placing Banners On Different Web Sites

How to place advertising banners on say 10 different sites? After clicking on these banner, the control should go to a particular web site. Here do we hv to do coding in 10 different web sites or is there any other procedure?

View Replies View Related

Configuring IIS (5.1) For Multiple Web Sites

Could someone help me find a tutorial (or perhaps instuct me) in the proper way to configure IIS 5.1 so that I can design and test (using localhost) multiple web sites. My problem arises when I try to debug ASPs that contain virtual includes which assume that the ASP exists in the default web site.

Since my ASPs exist in subwebs within the default site rather than in the default site, the included pages are not found and my ASPs return errors. I'm sure there must be a better way to do this but so far I haven't found one.

View Replies View Related

Hosting Multiple Sites

Is there any script that i can use to host multiple sites on my IIS 2003 server?

View Replies View Related

Good Script Sites

I'm looking for some script sites that do things like ecards, calenders, journals etc. Do you know which are the top 3 for ASP?

View Replies View Related

Multi Lingua Web Sites Using ASP

I am currently maintaining a web site for my company's product. The existing site is in English and written in ASP. Currently, my boss plan to add 2 more languages version to the site (Malay and Chinese). So that when user click on the "Chinese" link, the Chinese version of the site will be displayed and click on the "Malay" version, the Malay version of the site will be displayed.

I know that I can either duplicate another 2 sets of the same files with different languages and my job consider done. But the mainatance in the future will be a headache for me. So, I was planning to use XML for this purpose, can anyone show me the proper way that I can learn to use XML with ASP? What type of XML Editor should I use?

Or is there any other way to deal with this purpose? Any good references I can get from the Internet?

View Replies View Related

HTTP Header Difference From Two Sites

I have two sites on my computer. If I display the header information from
site 1, it displays PATH_TRANSLATED as below.

D:kbapplicationprogramuihttpClientPortalkba rticleindex.asp

If I display the header information from site 2, it display PATH_TRANSLATED
as below.

D:kbapplicationprogramuihttpCustomerPortaldi splay2search.asp, except
the here is W with a line going across it. For some reason, when I paste
it here, it changes to , but in IE, it's W with a horizontal line.

View Replies View Related

GPS Coordinate Search For Treasure Sites

I'm making a website that is for logging Treasure sites, and each site has it own GPS coordinate. Like Site#1 has N34'35.3456 W112'45.2345 coordinate and Site#2 has N35'37.3976 W112'44.2265 coordinate and Site#3 has N33'46.3926 W112'49.2855 coordinate. What I need to do is to make a search for sites, by GPS coordinate, that will show up on a list page, that will list all the sites in a radius of 100 miles or so from the entered coordinate, and will list them from the top being the close to the entered coordinate and getting further away from the entered coordinate at the bottom of the list. I have all my sites in a database. So any Ideas PS. I really really like the way that Geocaching.com has there GPS coordinate search.

View Replies View Related

Session Variables In Trusted Sites

I have an asp based site which for various reasons has to go in either
Trusted Sites or Intranet under security in IE7. However as soon as I
place it in either of these zoneI can no longer use session variables.
These session variables work fine when it is in the Internet zone. Any
ideas anyone?

View Replies View Related

Same Page In Two Separate Sites Display Differently.

I have two sites on my computer. I am using a same page in the two sites.
I set my IE to Korean (testing purpose) encoding for testing
internationalization.

When I hit the same page in two separate sites, one shows the foreign
characters in Korean, but the other shows garbage-looking characters.

I am using the exactly the same page.

View Replies View Related

Varify Existance/mearge/rename Of Web Sites

I am developing a web site which includes a database containing website URLs. I need to check time to time about the status of these URLs whether those are merged with otherweb sites , renamed or expired. I want to make this process automated and a report generation which directly displays status of each site URL.

View Replies View Related

Database Limit - Microsoft JET Database Engine Error '80040e14'

I have just started using ASP, I am normaly using PHP but I thought ASP might be a good road to go down. I am having a few problems, I am trying to limit the number of records I take out the database but I keep getting errors.

<%
'connection string
datapath=Server.Mappath("guest.mdb")
strconn="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & datapath & ";"
Set CONN = Server.CreateObject("ADODB.Connection")
CONN.Open strconn

'select all records row by row
DBquery="SELECT * FROM Guests LIMIT 10"
set query=Conn.execute(DBquery)
do while not query.eof

'get a variable from the table
guest_id = query("ID")
guest_name = query("Name")
guest_msg = query("Mesg")
guest_date = query("DateTime")

'print the variable to the screen
response.write guest_id & "<br />"
response.write guest_name & "<br />"
response.write guest_msg & "<br />"
response.write guest_date & "<br />"
response.write "<br />"
'move to the next record
set conn = nothing
query.movenext
loop
%>

I am getting this error;

Microsoft JET Database Engine error '80040e14'

Syntax error in FROM clause.

/guestbook/guest.asp, line 11

can anyone help me?

View Replies View Related

Microsoft JET Database Engine :: Cannot Update. Database Or Object Is Read-only

I had made a form name 'dform.html' which asks idno, name and phone from the user and after the user clicks on button "save data" sdata.asp is executed. sdata.asp is written to save the values entered for idno,name and phone in dform.html into table "myfriends" in the mydata.mdb (access database). but when i am clicking on save data button i am getting error saying

"Error Type:

Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/SDATA.ASP, line 9"

can please anyone tell me why i am getting this error.

View Replies View Related

Database Connection String To MySQL-database On A Different Server

I work with ASP for several weeks now and i really like it! But until now i have just used it in connection with my localhost. I made connections to a SQL Database and to an ACESS Database with using the ODBC Tool from WIndows!!


Now i want to publish my website but i don't know how to handle the connection string kind of thing. My MySQL-Database is on a different server than the website and i need a connection string where i can type in the server, a password and a username and it should then connect.

View Replies View Related

How Do I Export Data Fom Local Database To Server Database?

I'm current working on a project which need to upload local data to
live server database.

Meanings that, i'm current having a server in my local mechine. I need
upload data from local database to live database which host at oversea
company. But i really have no idea how to do this in asp.

View Replies View Related

Microsoft JET Database Engine , Database Or Object Is Read-only

Error Type:

Microsoft JET Database Engine (0x80040E21)
Cannot update. Database or object is read-only.
/q_maker/aero_admin/delete.asp, line 12

what is wrong! i checked the db and its not readonly.

View Replies View Related

Using Value From Database Updating The Database And Resuing The Value

i wrote a shopping cart using cookies found out thatIE 7 won't let me add more cookies after a certian number. decided to use DB along with cookies and now i have very weired problem never encountered before Code:

View Replies View Related

Many-to-Many :: Seperate Database Or One Database?

Products ---> Products|Customer <--Customer

With regardst the above many-to-many relationship:

Is there any advantage in creating seperate access databases for:

- Customer
- Products

....Rather than keeping them as three tables in one database.

The reason I ask is that I have found that if I am using a ftp approach to
overwriting or updating the remote database there are sometimes problems
with synchronizing data .....This seems to be a better solution?

Am I off base?

View Replies View Related

Web Database

does any one know a simple free database driven website tutorial that i could learn? i need it for when someone searches a name ionformation on that name comes up along with photographs realating to them.

I have built several websites before but none are database driven so is there any dummy proof versions?

View Replies View Related







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