Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session in different frames

Status
Not open for further replies.

royyan

Programmer
Jul 18, 2001
148
US
I am using a couple of framesets in one of my main page. One frame(Frame1) servers as navigation page with forward and backward links. I also have a input box which holds the current page numbers.
The content page is in another frame(Frame2).
When click on navigation link on Frame1, it will load pages in Frame2. The frame2 pages henerate session value as page number information. The Frame1 suppose will get the session value in Frame2.
My problem is, the page number in Frame1 always 1 page behind of the real action because it doesn't load session value immdetaly in that action.
Please help me on finding a better way to show the page number correctly in Frame1.
Thanks!
 
Well, I figured out a way to solve this problem.
I used javascript in Frame2
<body onload="parent.Frame1.location=parent.Frame1.location">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top