This was supposed to go to the list but apparently only went to Chuck. I have
the page working now.
Begin forwarded message:
> From: Roger Perryman
> Date: March 12, 2013 2:24:44 PM EDT
> To: Chuck Hill
> Subject: Re: (ERX)WOForm creates a new Session
>
> I guess what conf
want it to create a new Session until
> after the page is submitted. Loading the Login page creates a new session.
> Initially, I had a few elements that had session references but I corrected
> those. I am still getting a session created. I've traced it down to the
> ERXWOF
Perryman wrote:
> I am creating a Login page and I don't want it to create a new Session until
> after the page is submitted. Loading the Login page creates a new session.
> Initially, I had a few elements that had session references but I corrected
> those. I am still getting
gt; I am creating a Login page and I don't want it to create a new Session until
> after the page is submitted. Loading the Login page creates a new session.
> Initially, I had a few elements that had session references but I corrected
> those. I am still getting a session created.
I am creating a Login page and I don't want it to create a new Session until
after the page is submitted. Loading the Login page creates a new session.
Initially, I had a few elements that had session references but I corrected
those. I am still getting a session created. I've traced
On 11/23/09 5:06 PM, Frank Stock wrote:
> Hi all,
>
> I want to be able to create a new session, so once the user has logged in and
> is working in one session, he should be able to open a new session, but
> without logging in again.
> I need this because if a user is for in
k wrote:
> Hi all,
>
> I want to be able to create a new session, so once the user has logged in and
> is working in one session, he should be able to open a new session, but
> without logging in again.
> I need this because if a user is for instance creating an invoice and th
Well, I do need a new session, because I use the session to handle the current
documents, just like a shopping-cart.
I use ERXJSOpenWindowHyperlink to start a directAction, but I always get the
same session.
Frank
Op 24-nov-2009, om 03:35 heeft webobjects-dev-requ...@lists.apple.com het
On Nov 23, 2009, at 2:06 PM, Frank Stock wrote:
Hi all,
I want to be able to create a new session, so once the user has
logged in and is working in one session, he should be able to open a
new session, but without logging in again.
I need this because if a user is for instance creating an
Hello Frank;
You could pass basic session information between the instances and then allow a
trusted token to initiate a new session on an other instance other than the one
on which the user was previously working.
cheers.
> I want to be able to create a new session, so once the user
Hi all,
I want to be able to create a new session, so once the user has logged in and
is working in one session, he should be able to open a new session, but without
logging in again.
I need this because if a user is for instance creating an invoice and the
phone is going, so he can create
Good to know if I have a need to use something like that again.
Thanks,
Guido
On 04.09.08 22:43, "Andrew Lindesay" <[EMAIL PROTECTED]> wrote:
> Hello Guido;
>
> Yes OpenJMS is terrible under load. ActiveMQ is a bit better, but
> SwiftMQ in my experience has been very good despite being a bit o
Hello Guido;
Yes OpenJMS is terrible under load. ActiveMQ is a bit better, but
SwiftMQ in my experience has been very good despite being a bit of a
performance to configure.
Actually I should say that "very good" is a bit of an understatement
-- it doesn't seem to slip-up in my usage.
Hello Guido;
Yes OpenJMS is terrible under load. ActiveMQ is a bit better, but
SwiftMQ in my experience has been very good despite being a bit of a
performance to configure.
http://www.swiftmq.com/
cheers.
I tend to use a JMS topic to distribute this information around
instead.
Thanks for all your collective feedback.
I'm going to experiment with a couple implementations to see what
works best.
On Sep 4, 2008, at 9:30 PM, Guido Neitzer wrote:
On 04.09.08 22:23, "Andrew Lindesay" <[EMAIL PROTECTED]> wrote:
I tend to use a JMS topic to distribute this information
On 04.09.08 22:23, "Andrew Lindesay" <[EMAIL PROTECTED]> wrote:
> I tend to use a JMS topic to distribute this information around
> instead. This works very well.
Taught by bad experience with OpenJMS never to trust a JMS tool I still
prefer the database for that.
OpenJMS locks up under load. F
Hello;
I tend to use a JMS topic to distribute this information around
instead. This works very well.
cheers.
Do you have any concerns about read/write to the db being
overwhelming? (We're using the status as a percentage of process
completion.)
Depends on how frequently you are updating
On 04.09.08 21:32, "Josh Paul" <[EMAIL PROTECTED]> wrote:
> That's an approach I thought about, and am considering.
>
> Do you have any concerns about read/write to the db being
> overwhelming? (We're using the status as a percentage of process
> completion.)
Depends on how frequently you are up
"Josh Paul" <[EMAIL PROTECTED]> wrote:
I'm not storing the id in cookies, as this will ultimately wind up as
a web service.
I have moved the thread, which seems to have helped (as there's no
new
session being created). Now I just need to figure out why the
'stat
it.
cug
On 04.09.08 21:17, "Josh Paul" <[EMAIL PROTECTED]> wrote:
> I'm not storing the id in cookies, as this will ultimately wind up as
> a web service.
>
> I have moved the thread, which seems to have helped (as there's no new
> session being crea
I'm not storing the id in cookies, as this will ultimately wind up as
a web service.
I have moved the thread, which seems to have helped (as there's no new
session being created). Now I just need to figure out why the 'status'
isn't being set (or read) correctly.
On Sep 4, 2008, at 5:43 PM, Josh Paul wrote:
I'm not swallowing exceptions anywhere, and if I am they're printing
to stdout.
I do think the session is locked or not checked in. I need to
investigate further.
That would give you deadlock or unlocked access, not create a new
fire that
DA from
a spawned thread from the RR loop. You might end up trying to check
out a
session from the session store that is already checked out.
Not sure what would cause the creation of a new session though ...
maybe
that it is throwing an exception while trying to access th
Only thought I have is that it might not be a good idea to fire that DA from
a spawned thread from the RR loop. You might end up trying to check out a
session from the session store that is already checked out.
Not sure what would cause the creation of a new session though ... maybe
that it is
100%.
I left out the fact that this is related to a Thread, as that's where
the status is being created. So, I have a DA that fires the process
and another DA that checks in on it. The issue is that when checking,
a new Session keeps getting created.
Thoughts?
On Sep 4, 2008, at 3:
And you are sure, your session is not terminated somewhere else?
cug
On 04.09.08 15:59, "Josh Paul" <[EMAIL PROTECTED]> wrote:
> I'm using WO 5.3 with a version of Wonder about 1 week old...
>
> On Sep 4, 2008, at 2:50 PM, Guido Neitzer wrote:
>
>> On 04.09.08 15:42, "Chuck Hill" <[EMAIL PROTE
I'm using WO 5.3 with a version of Wonder about 1 week old...
On Sep 4, 2008, at 2:50 PM, Guido Neitzer wrote:
On 04.09.08 15:42, "Chuck Hill" <[EMAIL PROTECTED]> wrote:
That sort of thing should work. Which version of WO? There may have
been some related bugs in earlier versions of 5.4
A
On 04.09.08 15:42, "Chuck Hill" <[EMAIL PROTECTED]> wrote:
> That sort of thing should work. Which version of WO? There may have
> been some related bugs in earlier versions of 5.4
As far as I know, that should work. But I always call "existingSession()"
before I do anything else in a DA call.
information, a new
Session is created, thereby rendering the action useless. The action
includes the sessionID via the wosid key:
http://localhost/cgi-bin/WebObjects/Test.woa/-/wa/status?wosid=ees0hDQNM0wTL3nLXQbD8M
Is there any reason why this should/could be occurring
I have a DirectAction which attempts to read information from a
current session. However, when accessing the information, a new
Session is created, thereby rendering the action useless. The action
includes the sessionID via the wosid key:
http://localhost/cgi-bin/WebObjects
he sessionID is available in
dispatchRequest and that it looks like the new session is being
generated by Application._initializeSessionInContext. When I
override that as follows:
public WOSession _initializeSessionInContext(WOContext context) {
WORequest r = context.request
ing a form)
reuse existing sessions. I must have some basic setting goofed
up, but I cannot figure out what it is.
[...]
The logs with that shows the sessionID is available in
dispatchRequest and that it looks like the new session is being
generated by Application._initializeSessionInCo
looks like the new session is being
generated by Application._initializeSessionInContext. When I
override that as follows:
public WOSession _initializeSessionInContext(WOContext context) {
WORequest r = context.request();
NSLog
.out.app
le in
dispatchRequest and that it looks like the new session is being
generated by Application._initializeSessionInContext. When I
override that as follows:
public WOSession _initializeSessionInContext(WOContext context) {
WORequest r = context.request();
NSLog.out.app
uests
generated from within the app (submitting a form) reuse existing
sessions. I must have some basic setting goofed up, but I cannot
figure out what it is.
[...]
The logs with that shows the sessionID is available in
dispatchRequest and that it looks like the new session is
ionID is available in
dispatchRequest and that it looks like the new session is being
generated by Application._initializeSessionInContext. When I
override that as follows:
public WOSession _initializeSessionInContext(WOContext context) {
WORequest r = context.re
. The stacktrace does show where I'm getting
a new session, but what I don't understand is WHY. Here is my
current Application.dispatchRequest:
public WOResponse dispatchRequest(WORequest r) {
NSLog.out.appendln("REQUEST COOKIES: " + r.cookies());
NS
t or direct
action? That stack trace may show you where this is happening.
It's a component -- Main.wo. This is literally just a straight up
default application as created by the "New WebObjects Application..."
wizard. The stacktrace does show where I'm getting a new sess
ple.woa/wo/0.4
As soon as I try to re-enter the application, however, by visiting
the root URL,
http://localhost/wo/WebObjects/simple.woa
a new session is created.
Here is the debugging I've added to Application.java:
public WOSession _initializeSessionInContext(WOContext context
he
same session is used. I see post URLs like this:
http://localhost/wo/WebObjects/simple.woa/wo/0.4
As soon as I try to re-enter the application, however, by visiting
the root URL,
http://localhost/wo/WebObjects/simple.woa
a new session is created.
Here is the debugging I&
WOServerSessionStore sessionStore = (WOServerSessionStore)
WOApplication.application().sessionStore();
* Note: this is assuming you're not using servlets and you're using
the default session store. If you're using servlets I believe this
is a different session store, and I haven't look
ange state transitions. A much better way would be to
steal the USER of the session and create a new session with the same
user ...
While I haven't done the "hijack a session" option, I did recently
just write an active session browser/terminator (which might roll
into Project
I generally do the latter whenever possible. This way if a new
session is created and the user has not logged in they will be
automatically redirected to the login panel before the page is allow
to be accessed.
If your design is closer to the "gate keeper" login style then you
cou
Hi,
I would like to login as a user from a admins session. I don't want to do this
by a DA for security reasons. It would be great if the admin clicks on "Login
as whoever" and gets a new session with the user data in a new browser window.
The admin session should not be termin
44 matches
Mail list logo