new session starting

2007-02-06 Thread Craig Hamilton

I have an html page which is refreshing, and each time it refreshes, a new
session is getting started.

eg.


What could be causing a new session to be created each time this page is
refreshed?

thanks,
craig


problem with sessions

2006-06-21 Thread Craig Hamilton
Hi,

I have a shopping cart written in Tapestry, and I am redirecting to
PayPal for some users to specify their purchase method.  

When paypal returns the users browser back to my cart, the session seems
to get lost, and a new session is created.  

When redirecting to paypal, i specify a return url.  I tried grabbing my
session id and adding that to the url, but that didn't seem to work.

String returnURL = server + "PersonalInfo.page;jessionid=" + sessionId;

Any ideas?

Thanks,
craig



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: perform Post on external link

2006-05-17 Thread Craig Hamilton
I am not sure.  Let me give some more information, and hopefully that
will clarify.

I have a cart page in which users can add/remove products at the bottom
of that page I present them with two buttons, Pay with PayPal, Pay with
Credit Card.  If they click Pay by Credit Card, I just want to go on to
another tapestry page of mine.  If they click Pay by PayPal, I need to
do a http POST to the paypal url, and the user goes there instead.

Would the @Any do this?  The PayPal POST requires a bunch of parameters
to be passed in, which I would ideally like to avoid in the general case
(ie user uses their credit card).  So I was thinking I could just have a
listener hooked up to my PayPal button, and then form a POST with the
session info (use commons HTTP maybe??), but I have no idea how to get
the user's browser redirected to the PayPal site.

Any ideas?

On Wed, 2006-17-05 at 09:00 +0200, Schulte Marcus wrote:
> Would
> 
> 
> 
> work?
> The input's in the form would then also have to be
> @Any's ...
> 
> > -Original Message-
> > From: Craig Hamilton [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 17, 2006 3:15 AM
> > To: 'Tapestry users'
> > Subject: perform Post on external link
> > 
> > 
> > I have a shopping cart, and on a page I need two buttons, one to Pay
> > with Credit Card, which goes to my PaymentInfo page, and then another
> > button Pay with PayPal, which will do a http post to the paypal pages.
> > Which component should I be using for the PayPal button, and how do I
> > redirect the user to that paypal.com page, needing to do a POST?
> > 
> > Thanks in advance,
> > Craig
> > 
> > ps. using tap 4
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



perform Post on external link

2006-05-16 Thread Craig Hamilton
I have a shopping cart, and on a page I need two buttons, one to Pay
with Credit Card, which goes to my PaymentInfo page, and then another
button Pay with PayPal, which will do a http post to the paypal pages.
Which component should I be using for the PayPal button, and how do I
redirect the user to that paypal.com page, needing to do a POST?

Thanks in advance,
Craig

ps. using tap 4




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]