Jump to content


Photo

About the session in a link when link sent via email


  • Please log in to reply
2 replies to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 July 2006 - 05:08 PM

When you send a link to a users email address to activate account,
the link shows the users session within the link,
what i wont to know does that session stay as the users session always or does it change from each time the user logs in.

link example.
<a href="http://whatever.com/activate_account.php?&id=$id">Activate account</a>
Advance
Thanks cheers.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 06 July 2006 - 06:30 PM

The session id will chane when the session times out or is destoryed.

A new session is regenerated when you destory the session or if the user current doesnt have a valid session.

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 July 2006 - 06:32 PM

What is the correct method to give a session the life period of 1 year .

cheers.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users