logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 06-01-2011, 02:15 PM   #1
woofy
woofy's Avatar
 
Join Date: Dec 2007
Location: San Diego
Posts: 57
Default One way pages?

Is there a way to make a page that you can only get to by a link and not any other way such as direct entry or using the back button? I have no idea where to begin with this so any suggestions would be great.
woofy is offline   Reply With Quote
Old 06-01-2011, 03:39 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

woody, can you explain that one in a bit more detail please?
domedia is offline   Reply With Quote
Old 06-01-2011, 03:45 PM   #3
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

You could do it with PHP sessions and a log in but there may be a better way. Can you expand on what it is for at all?
Corrosive is offline   Reply With Quote
Old 06-01-2011, 04:31 PM   #4
woofy
woofy's Avatar
 
Join Date: Dec 2007
Location: San Diego
Posts: 57
Default

I want data inserted into the database when they are directed to this page from a pay-pal link, what I want to avoid is them refreshing it over and over to increase the data inserted into their database. If I could even redirect them from a page that loads the data before the page loads then somehow hide the page it was redirected from that would work too.
woofy is offline   Reply With Quote
Old 06-03-2011, 06:09 AM   #5
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

You can always have a 'hidden page' that does the work. I.e.

Paypal paid --> creates a PHP session --> redirects to a PHP page to process --> PHP session picked up --> script inserts data into database --> session is killed --> redirect to a thank you page. The customer wouldn't even notice.

You'll need to brush up on your programming skills but it is certainly do-able.
Corrosive is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com