PDA

View Full Version : [HTML] Is their a code......


dresden
02-29-2008, 01:44 AM
Is their a html/javascript/what ever besides .php required code, that makes it so u can not view a certain page unless u are redirected their from another page.

Like this for example.

Timmy goes to http://passwordneeded.com/

and enters the pass then is transfered to

http://accessgrantedviewingwebpage.com/

he then bookmarks the accessgrantedviewingwebpage.com site and can just instantly go their any time he wants without the need to enter a password.

Now I want the code to do this.

Timmy goes to http://passwordneeded.com/

Enters everything correctly then goes to http://accessgrantedviewingwebpage.com/

he then book marks that page and then trys to go back to that page directly but it loads a new window saying Access denied (i have my own access denied page so i can just add that into the script) he then pouts over it but decides oh well and goes back to http://passwordneeded.com/ and redoes the stuff.

But i mean i dont want it so if u refresh accessgrantedviewingwebpage.com/ that u gota go back to passwordneeded.com to get back to it. just want it so as longas u come from passwordneeded.com that as long as u do not close that window u wont have to worry about going back to passwordneeded.com.


NOTE: http://passwordneeded.com/ is a made up website along with http://accessgrantedviewingwebpage.com/ . If at any point in time they become real or registered I do not claim ownership in any form, shape, or fashion.

cr0wonline
03-02-2008, 01:05 AM
The easiest way to do this without PHP would be to set a cookie with Javascript, and check for that on accessgranted.com. However ,that's very unsecure as they could just read the source, so server-side coding would be your best option.

dresden
03-02-2008, 06:56 PM
well im useing a hoster that allows only .html sites. so no PHP sadly......

Tyler
03-02-2008, 06:59 PM
Then your host sucks, you should move your site here.

dresden
03-02-2008, 07:09 PM
I had my site here lol but apparently you have to pay per month or per 6 months or per year or per 2 years...apparently they didint put it in big bold print saying YOU HAVE TO PAY PER UR SELECTION PER THAT TIME! and apparently you can be downgraded to free......so apparently you lose the domain names you already paid for at this site because no one made a simple text in big bold letters.

Thank you have a nice day.

Tyler
03-02-2008, 07:24 PM
Dresden, it was printed there, I am sorry that we cant put everything on our web site in 40 point font, the site just wouldn't be functional.