This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing session values between web sites?  RSS feed

 
Fergus Red
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I just wondered if you know if session values can be kept if you pass between different web sites.
For example:
If A session value is set in site A. Then - if you link from Site A to Site B (within same window - i.e. not popping up a new window), do some stuff on site B, and then link back to Site A again from Site B. Will the session value which weas originally set in site A be kept in session when you return to this site?
This may be asked confusingly, hopefully however you will understand what I am asking.
Thanks for the help.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The session for site A should still be there when you return to site A, provided that the browser allows cookies and the session has not timed-out. A typical time-out for sessions is 30 minutes, but you can change that in code.
Bill
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!