• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help - why does this code start a new session???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help - why does this code start a new session???


  • Subject: Re: Help - why does this code start a new session???
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 1 May 2004 16:12:32 -0700

Those links won't be causing session creation unless you have somehow terminated the session. I don't see any broken HTML that might be causing that either. Are you using JavaScript anywhere? I'd try logging out the request in Application.dispatchRequest and adding NSDebug.out.appendln(new Throwable("Session created: " + sessionID())); to the Session constructor to see if you can narrow down what is happening.

Chuck


On May 1, 2004, at 4:02 PM, James Cicenia wrote:

HTML:

<tr valign="bottom">
<td align="left" valign="bottom"><nobr>&nbsp;<a href="/cgi-bin/WebObjects/3Olives.woa/wo/b4Th2gV9u6EN0Uq607PQh0/ 1.0.9.0.0"><img height=30 width=92 border=0 src="/3olive/imx/header/ON/t01.gif"></a><a href="/cgi-bin/WebObjects/3Olives.woa/wo/b4Th2gV9u6EN0Uq607PQh0/ 1.0.9.0.1"><img height=21 width=90 border=0 src="/3olive/imx/header/OFF/t02.gif"></a><a href="/cgi-bin/WebObjects/3Olives.woa/wo/b4Th2gV9u6EN0Uq607PQh0/ 1.0.9.0.2"><img height=21 width=90 border=0 src="/3olive/imx/header/OFF/t03.gif"></a><a href="/cgi-bin/WebObjects/3Olives.woa/wo/b4Th2gV9u6EN0Uq607PQh0/ 1.0.9.0.3"><img height=21 width=90 border=0 src="/3olive/imx/header/OFF/t04.gif"></a><a href="/cgi-bin/WebObjects/3Olives.woa/wo/b4Th2gV9u6EN0Uq607PQh0/ 1.0.9.0.4"><img height=21 width=90 border=0 src="/3olive/imx/header/OFF/t05.gif"></a><img height=21 width=90 border=0 src="/3olive/imx/header/OFF/t07.gif"> </nobr></td>
<td align="right" valign="bottom">
<br>

WOD:
Typical binding:


Hyperlink2: WOHyperlink {
	pageName = "RequestMaster";
}


Looks good to me! James


On May 1, 2004, at 5:54 PM, Chuck Hill wrote:

1. What does the generated HTML for the links in these tabs look like?

2. What does the definition for the WOHyperlinks in the WOD file look like?

Chuck


On May 1, 2004, at 3:44 PM, James Cicenia wrote:

Hello -

My class is a subclass of WOComponent and I was of the understanding that there is a session() method in WOComponent.

My situation is this. A person logs into my system, I authenticate them and then bring up the page. This page is comprised
of 6 tabs. Every time I click a tab it generates a new Session! However, in all other parts of my application, even within the
tabbed pages I can click links, popup windows and no new session is created!??


I am thinking that somehow the tabs which are in a WOParentComponent are not in a session? However, there is ((Session)session())
type code in those components too.


Very confused and worried a bit too.

-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Help - why does this code start a new session??? (From: James Cicenia <email@hidden>)
 >Re: Help - why does this code start a new session??? (From: Chris Pavicich <email@hidden>)
 >Re: Help - why does this code start a new session??? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: EOM: Keeping two Schemas in Synch
  • Next by Date: D2W Bindings Reference?
  • Previous by thread: Re: Help - why does this code start a new session???
  • Next by thread: Re: EOM: Keeping two Schemas in Synch
  • Index(es):
    • Date
    • Thread