A
Anonymous
Guest
I need to open a link in new window, but I want to start a new session for this new window and at the same time keep the old one for the origin browser window. [/img]
swirlee said:...why not use a single session and just have two sets of session variables within the session? That's easy.
WiZARD said:you may crete somthing self:
1) generate MD5 hash
2) assign this hash to IP
3) input data to MySQL
4) use date for live of yor session
I'm not sure what can do it....Hlucho said:WiZARD said:you may crete somthing self:
1) generate MD5 hash
2) assign this hash to IP
3) input data to MySQL
4) use date for live of yor session
This wouldn't solve the problem, because I need multiple different "sessions" for one IP. Those "sessions" started from one browser window. I want to start new session from link like
http://my_server.com/?new_session=yes&whatever=646565&whatever_else=hkjhkjh&....
AND at the same time keep all session info for the origin browser
WiZARD said:I'm not sure what can do it....
see this session_start
maby better assign new session variable as propose magical swirlee huh?
from manual:
session_start() creates a session or resumes the current one based on the current session id that's being passed via a request, such as GET, POST, or a cookie.