Redirecting user to some other url after webform processing

Currently I am using $node->webform['confirmation'] in Webform to redirects the user after form processing has been completed.

The code sample is as follows

<?php
// Redirect to msn when done.
$node->webform['confirmation'] = 'http://msn.com';

// Redirect to node 2 (an internal Drupal path).
$node->webform['confirmation'] = 'internal:node/2';
?>

But unfortunately I am unable to get rid of the &sid=xxx. Is there a way to get rid of the ?sid=[submission-id] that is appended even if i use redirects?

 #

I'm having this problem too, anyone found a cure yet?

Can you post your .htaccess solution?

 
 #

Very good post, thanks a lot.

 
 #

I could not able to figure out the solution from drupal, but via .htaccess i remove the ?sid parameter.

If you did a better solution, please do let me know.
Thanks you

 
 #

I'm having the same problem. Have you come across any solution?

Thanks - Bob

 

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Cumulus Tag Cloud

Kiran Says

I love work environment which is:

Informal yet professional
Demanding yet rewarding
Challenging yet inspiring
Mediocrity is not an option
Having fun is serious business
Making mistakes is human
Forgiveness is Company Policy

Travelling Sucks