• 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: WOMailDelivery: suppress sessionID in links
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOMailDelivery: suppress sessionID in links


  • Subject: Re: WOMailDelivery: suppress sessionID in links
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 22 Jul 2004 21:17:07 -0700

Add this binding to the WOHyperlink to avoid having the session ID added:
?wosid = NO;


Chuck


On Jul 22, 2004, at 6:04 PM, Romeo Mariani wrote:

Hi all,

when I send a component using WOMailDelivery and composeComponentEmail, sessionIDs are manteined in directActionUrls. I need to suppress it since users that receive the mail can enter the site like logged users (foccalabindella!).

I try to generate a myContext without session:

NSMutableDictionary headers = new NSMutableDictionary();
headers.setObjectForKey(new NSArray(host), "host");
headers.setObjectForKey(new NSArray(host), "server_name");
String httpVersion = context().request().httpVersion();
String hostPath = httpVersionLowercase(httpVersion) + "://" + host;
WORequest request = new WORequest("POST", hostPath, httpVersion, headers, null, null);
WOContext context = new WOContext(request);
aPage = ((Application)application()).pageWithName("Main", context);


but when I send the page links start with internal host +  port:

http://localhost:2007/

instead of

http://www.mydomain.com/

Any ideas?

Thx

Romeo
_______________________________________________
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.
_______________________________________________
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: 
 >WOMailDelivery: suppress sessionID in links (From: Romeo Mariani <email@hidden>)

  • Prev by Date: remote database synchronisation
  • Next by Date: Question Regarding Session ID's and Cookies
  • Previous by thread: WOMailDelivery: suppress sessionID in links
  • Next by thread: New Direct Action Class?
  • Index(es):
    • Date
    • Thread