• 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: automatically session creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatically session creation


  • Subject: Re: automatically session creation
  • From: Henrique Gomes <email@hidden>
  • Date: Fri, 26 Nov 2010 12:31:05 +0000

A session is always created if you use statefull components or form actions.
The page needs to be all made with stateless components and the form must use direct actions.

As for Ajax, well, you might have to rethink it:

http://osdir.com/ml/webobjects-dev/2009-07/msg00319.html


Henrique Gomes


On Nov 26, 2010, at 11:05 AM, Francesco Romano wrote:

> Hi.
> The title is not clear, I know... that's because I've 2 question related to session, redirection and direct action.
>
> 1) I have two pages which are secure (login and registration page).
> What I want to do is, after a successful login (or registration), redirect to a non secure page (like the home page).
> The submit buttons link to two Direct Actions.
>
> I don't have problem with the login page, because I need a session, so I do something like:
>
> 	nextPage = pageWithName(Main.class);
> 	ERXRedirect redirect = pageWithName(ERXRedirect.class);
> 	redirect.setSecure(false);
> 	redirect.setComponent(nextPage);
> 	return redirect;
>
> but.. for a registration page I  don't want to create a session.. what can i do?
>
> 2) Ajax components need session? Because I've a "ajax" list product page and a session is automatically created
>
> Thank you
>
> Francesco Romano
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: automatically session creation
      • From: Francesco Romano <email@hidden>
References: 
 >automatically session creation (From: Francesco Romano <email@hidden>)

  • Prev by Date: automatically session creation
  • Next by Date: Re: SSL Trouble with httpd-ssl.conf include
  • Previous by thread: automatically session creation
  • Next by thread: Re: automatically session creation
  • Index(es):
    • Date
    • Thread