This is a discussion on Session in child window within the PHP Programming forums, part of the Web Development category; I am opening a New window from a parent window by clicking an hyperlink with target="_blank". In ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| I am opening a New window from a parent window by clicking an hyperlink with target="_blank". In the New window page i am getting all the sessions of the parent window, but i dont need those sessions. i need a new session for New window page without affecting the parent window page. Is it possible to have a New window with out the parent window session |
| Sponsored Links |
| |||
| Hi Shiva, I think its not possible because the Session will be maintained for the whole application and not for each and every page.So,I think its not possible.
__________________ Sathish Kumar.R ![]() Knowledge is meant to SHARE |
| |||
| Sessions use either cookies or the search string on the end of the URL to pass the session id between pages. The rest of the data can be stored on the server using whatever method you want simply by overriding the appropriate functions to read and write the session data. If you want data from two separate windows to be tracked separately in the session then make the window name part of the name of the session fields used in that window.
__________________ Thanks & Regards Sabari... |
| |||
| Quote:
I am confused with these lines. Do you want me to open the window with a different name assigned to it in window.open. can u please explain in detail |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Session never expires in site unless you close the window | ursklakshmanan | PHP Programming | 1 | 03-31-2008 03:07 AM |
| How to pass session values in popup window | Mramesh | HTML, CSS and Javascript Coding Techniques | 3 | 03-13-2008 09:01 PM |
| Need to close parent window after closing child window. | S.Vinothkumar | ASP and ASP.NET Programming | 6 | 11-05-2007 06:08 AM |
| Is it possible to close the parent window (main web browser window) from a child win | gp_logesh | HTML, CSS and Javascript Coding Techniques | 1 | 10-29-2007 04:53 AM |
| How to pass the value from the child window to parent window in javascript? | kingmaker | HTML, CSS and Javascript Coding Techniques | 1 | 09-04-2007 03:18 AM |