IT Community - Software Programming, Web Development and Technical Support

Session in child window

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-04-2007, 03:11 AM
Sivamurugan Sivamurugan is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 22
Sivamurugan is on a distinguished road
Default Session in child window

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-04-2007, 07:20 AM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Thumbs up Re: Session in child window

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-10-2007, 07:31 AM
Sabari Sabari is offline
D-Web Genius
 
Join Date: Jul 2007
Posts: 1,008
Sabari is on a distinguished road
Default Re: Session in child window

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...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-11-2007, 05:39 AM
Sivamurugan Sivamurugan is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 22
Sivamurugan is on a distinguished road
Default Re: Session in child window

Quote:
Originally Posted by Sabari View Post
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.
sabari
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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 06:25 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0