Setting A cookie on a form then forwar to another url

Posted on 2006-05-25
Last Modified: 2013-12-18
I need to know how to set a cookie on a form on "Page A" so that once a user fills out the form and clicks submit, it forwards them to "Page B".  But this cookie must take them to "Page B" from then on when the click on "Page A".   I need to do this in Javascript if at all possible.  Thanks!
Question by:danpennell37
    1 Comment
    LVL 19

    Accepted Solution

    You should be having a $$Return field. This will redirect the user to specified form/page. In that you can Print messages and provide link to Page A.

    Please check Notes Help on how to create $$Return field.

    Text, Computed for display
    Sample Formulae:
    "["+"/" + @WebDbName+ "/0/"+@Text(@DocumentUniqueID)+"?OpenDocument"+"]"

    "["+"/" + @WebDbName+ "/FormAname?openform"+"]"

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
    Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now