PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sun Feb 28, 2010 2:53 pm Reply with quote Back to top

I want to create a permanent link from my website to another webpage which is using sessions.

This is the link at the moment:
Only registered users can see links on this board!
Get registered or login to the forums!


The problem is this link will eventually expire.

Is there a way to maintain a permanent link to this page, apart from upating it manually?
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sun Feb 28, 2010 3:55 pm Reply with quote Back to top

No, thats what sessions are designed to do - expire!
Some sites use regenerate_session() to keep the session open if the existing session expires whilst you are on the site but even though the session will regenerate, the session ID itself will change.
If the site uses cookies, it's possible you might be able to read the cookie data in and append it to your own sites cookie (assuming no naming convention conflicts) but it really depends on how important it is for you to have a valid link i.e. is it worth the hassle?
View user's profile Send private message Send e-mail Visit poster's website
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sun Feb 28, 2010 4:15 pm Reply with quote Back to top

OK I thought that might be the case.

I am creating a website for a friend to advertise their villa, but all the booking is being done through their management companies websites. If the link keeps expiring it is going to be a real pain in the a#$e!

I think it is actually quite short sighted of them to use sessions. What happens if someone wanted to do a review on the property, they will not be able to post a valid link to the property and they could potentially lose out on bookings. JMO
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sun Feb 28, 2010 5:07 pm Reply with quote Back to top

I think that site is getting it's data from elsewhere as well, you can see it in the browser status bar sometimes.
Any way, you could possible ask them if there is a way to pass the vacation item id code into their search box, that way you can link to it via siteurl/Search.asp&something=C2232 (or whatver the vacation id was).
View user's profile Send private message Send e-mail Visit poster's website
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 442
Location: Netherlands

PostPosted: Mon Mar 01, 2010 1:27 pm Reply with quote Back to top

i did a little investigation for you , and all i can say is...crap.

The property list is under control of:
Only registered users can see links on this board!
Get registered or login to the forums!


The company what entered your friends home have a membership theire.
If you visit the above site you will see in the left menu a link called "owner link".

How this site exactly works i dont now , however , your friends need to contact the company where they put theire property for listing , and ask them for this "owner link".

They could charge them for it , or they might not have the correct membership to provide them with this direct link.

Grtzz wHiTeHaT
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum