I am trying to implement an active desktop intranet page. Logins, menu and first page of each application ( which shows refreshed data) works brilliantly. What i would like to do is setup up links that open IE windows where data is insert/review, pictures etc etc can be viewed
however, when the page opens up using something like
<form name=viewform action='./action.php' method=post target=_blank>
<input type=hidden name=action value=view>
View existing logs <a href='JAVASCRIPT:viewform.submit()'>here</a>.
</form>
all session data is lost, where as if the intranet is used in the traditional webpage way from the start; new windows do not lose this data.
Is this clear?
would the answer be to create cookies with the session_id in it and reload this on each page that opens into a new page? ie something that replaces my verifcation code
session_start();
if(!session_is_registered('username')){
header("location:../login_unsuccess.php");
}else{
//blah blah
}
i am hoping this makes sense to you all
Is it possible to restart a session that is in /php/sessiondata by passing th e session_id() to another page?
Will i have to abandon sessiosn all together and use cookies? are cookies as good as sessions??