Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » [help] Coding help
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
auto photo upload to facebook? »
« [Chat] C++, Thinking out loud ...  
AuthorAll Replies


sdgthy

@optonline.net

reply to Sweet Witch
Re: [help] Coding help

said by Sweet Witch See Profile :

2) My site, simple as it is, has two pages. When you're on the second page, the URL stays the same and if you hit refresh it goes back to the index page. How do I get it to a) list the proper page in the address bar and b) refresh to the same page?
Easiest way is to not use frames.

said by Sweet Witch See Profile :

3) How can I code it to clear the cache every time?
Add a Cache-Control header.


Sweet Witch
Be the flame, not the moth.
Premium,MVM
join:2003-07-15
Gallifrey
I'm not using frames.

Do you have an example?


DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
·Covad Communications
·Verizon Online DSL

It looks like the host at name.com that answers to bclphoto.com is rendering the content from your comcast.net space in a frame.

If you have hosting space with them, you should move your content there. If not, you should get hosting space somewhere. ISP user space is notoriously unreliable.
--
There is no giant fur-bearing trout.


Sweet Witch
Be the flame, not the moth.
Premium,MVM
join:2003-07-15
Gallifrey
·Comcast

Do you know of any good hosting sites?

And if I do that, pages will refresh correctly, right?

Now, there's just the caching part. I found this code before:

meta name="robots" content="noarchive" /
meta http-equiv="Cache-Control" content="no-store" /

(I took out the so it will show here), will that work with css?
--
"While you can teach an old dog new tricks, you simply can't teach him to be a cat."

"Are you my Mummy?"


DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
·Covad Communications
·Verizon Online DSL

There are gazillions of hosting companies. I do hosting as a sideline as well. You need to make some decisions about what the content will be, what other features you want now and going forward/what you envision the site being in the future, whether you want to do the work/updating yourself or have someone else do it for you, and a budget for it.

Why do you want the cache to clear? Those meta tags are counter-productive for search engines. The less material on a site, the less likely it will appear anywhere within the first hundred results unless someone enters a keyword specific to a site.

If you're wanting to make it hard for others to snatch your photos, a better solution is to create watermarked, reduced-resolution images for public display. The high-resolution stuff you put in an area only people you designate can get to. Otherwise, even if you clear the cache, a knowledgeable person can still get them from the browser's buffer or brute-force copy them directly from the screen.
--
There is no giant fur-bearing trout.


Sweet Witch
Be the flame, not the moth.
Premium,MVM
join:2003-07-15
Gallifrey
·Comcast

The site won't be much bigger than it is now and I don't really need any other features - at least for the foreseeable future. No blogs, no chatting, nothing like that. Ever.

The caching isn't about the photos, it's so people will see the most current version since it's still a work in progress.

I'll be mastering it myself I may not know everything about coding, but I know what I like and it's much easier to just do it myself than pay someone to get it wrong.
--
"While you can teach an old dog new tricks, you simply can't teach him to be a cat."

"Are you my Mummy?"


DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
What program are you using to create the site?
--
There is no giant fur-bearing trout.


Sweet Witch
Be the flame, not the moth.
Premium,MVM
join:2003-07-15
Gallifrey
·Comcast

said by DC DSL See Profile :
What program are you using to create the site?
Notepad
--
"While you can teach an old dog new tricks, you simply can't teach him to be a cat."

"Are you my Mummy?"


DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
·Covad Communications
·Verizon Online DSL

If you're running Windows, I suggest downloading Visual Web Developer Express (free from Microsoft). It has a lot more features than you'll probably use, but as far as editing HTML and CSS, it's great for a novice. It has Intellisense, which plays along with you and suggests keyword and value choices. It also has decent (not stellar) help. You can also preview what you're doing, so you pretty much know what will come out the other side.
--
There is no giant fur-bearing trout.


Sweet Witch
Be the flame, not the moth.
Premium,MVM
join:2003-07-15
Gallifrey
·Comcast

Ok, finally had the time to download the MS software you suggested but didn't install it. Not only do I apparently need nine other downloads from MS but it wanted to split the install on to my C and M drives. What stopped me was that my M drive is for movies only and I had no option to change that location.
--
"While you can teach an old dog new tricks, you simply can't teach him to be a cat."

"Are you my Mummy?"


DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
·Covad Communications
·Verizon Online DSL


3 edits
I use the Professional version of Visual Studio, so I can't look into the issue you're having with splitting across drives. In Pro, though, setup looks at your physical volumes and offers to split it if you don't less than a certain amount of space on C:. AFAIK, there should be an option to click on its recommendation and override it. (I know capability was available in the 2005 versions and I simply can't imagine it being removed.) Short of that, temporarily disconnect any drives you don't want seen and run setup again. However, you must have the amount of space on the target drive called for in the setup instructions...the only reason I can think of it being disabled is you don't have enough on C:

If there are other MS files it's calling out, it probably means you either don't use automatic updates or aren't using Microsoft Update (versus base level Windows Update that only looks for OS components), or that you haven't checked for optional components for a while.
--
There is no giant fur-bearing trout.


Sweet Witch
Be the flame, not the moth.
Premium,MVM
join:2003-07-15
Gallifrey
·Comcast

It wants:

Visual C++
.Net Framework 3.5
SDK Tools
Web Authoring Component
SQL Publishing Wizard
SQL Server CLR Types
Shared Management Options

And there's no option to change the drives (I've got 7GB free on my C drive, plenty of room). Disconnecting the media drives is a hassle so this install will have to wait until later
--
"While you can teach an old dog new tricks, you simply can't teach him to be a cat."

"Are you my Mummy?"
-
Forums » Tech and Talk » OS and Software » Webmasters and Developersauto photo upload to facebook? »
« [Chat] C++, Thinking out loud ...  


Friday, 27-Nov 11:44:57 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [116] Time Warner Cable Fires Broadside At Broadcasters
· [109] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [68] In-Flight Internet Headed For Bumpy Landing?
· [59] Thanksgiving Open Thread
· [38] EFF Wages War On Fine Print
· [38] ICANN Slams DNS Redirection
· [36] Senators Want ACTA Made Public
Most people now reading
· Newegg Black Friday Sale started [Users Find Hot Deals]
· SSD [Computer Hardware Discussion/Reviews]
· Only firefox accesses Internet? [Security]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Bell Response to PIPEDA Request [TekSavvy]
· So we need a legitimate reason to use a lot of bandwidth? [TekSavvy]
· Whats the big deal about being "Old School"....? [World of Warcraft]
· Not strictly "Home" related - but WOW anyways... [Home Repair & Improvement]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]