Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Need Help with Redirecting
Old 03-03-2008, 04:51 PM Need Help with Redirecting
barbara's Avatar
Skilled Talker

Posts: 79
Trades: 0
i have a threaded posting using MS FrontPage. for the POST, i use this javascript (in the <head> tag:
<SCRIPT language=JavaScript >
function SecureIt(){
if (document.referrer.indexOf("post_logon_prod.asp") == -1) {
// Not coming from correct page... redirect to logon display.
self.location = "post_logon_prod.asp"}

}

</SCRIPT>

then i add "onload="SecureIt()" insid the <BODY> tag.

when i test it (by clicking on the "POST" button, it redirect me to the Post_logo_prod.asp. However, i check the thread posting a couple hours later; i still got some junk posting. Does the script above only prevent human poster; not auto poster (machine generated)?

any help is appreciated.

barbara is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-03-2008, 07:35 PM Re: Need Help with Redirecting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yep.

It's javascript and bots don't "do" javascript. So your "security" won't even be triggered.

Security or anti-spam measure HAVE to be done server side.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-03-2008, 08:18 PM Re: Need Help with Redirecting
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
What Hirst said. Any Javascript/other client side measures can just as easily be read by bots as they can by people and eventually can be countered without much effort.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-04-2008, 08:58 AM Re: Need Help with Redirecting
barbara's Avatar
Skilled Talker

Posts: 79
Trades: 0
thank you. I still have much to learn.

i am still google-ing. i am looking at Message board, Forum, Blog & Bullentin. i found some hosting that offer the free service. which one is the best method?

I have been playing around with Google's Blog and Bravenet. I like Google's Blog; however, there's a navbar at the top that have a "NEXT" button for a random blog within Google's blog. Other than that, it isn't so bad since i can approve the post before let it publish.
barbara is offline
Reply With Quote
View Public Profile
 
Old 03-04-2008, 12:06 PM Re: Need Help with Redirecting
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
What exactly are you trying to accomplish, Barbara? You seem to be mixing up some concepts here.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-05-2008, 09:13 AM Re: Need Help with Redirecting
barbara's Avatar
Skilled Talker

Posts: 79
Trades: 0
what we have now is using Microsoft FrontPage Discussion Web Site Wizard. it is a public posting and so we have a lot of junk posting.

I am looking for something that offers the same functionality as FrontPage discussion wizard, but allow me to look at the post before it is posted to the website.

here's one of the posting are: http://www.legsource.com/newsctr_toc.htm

thanks
barbara is offline
Reply With Quote
View Public Profile
 
Old 03-25-2008, 12:10 PM Re: Need Help with Redirecting
Average Talker

Posts: 24
Trades: 0
If you are using asp...use response.redirect
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
idisplayforless is offline
Reply With Quote
View Public Profile Visit idisplayforless's homepage!
 
Reply     « Reply to Need Help with Redirecting
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18529 seconds with 12 queries