Products
RapidSpell Desktop .NET (Win Forms)
RapidSpell Web ASP.NET (ASP.NET, MVC, SPA)
RapidSpell WPF
RapidSpell Web Java (JSP, JSF)
RapidSpell Desktop Java (Swing)
SearchUnit
RapidFindReplace WPF
Dictionaries for .NET
Dictionaries for Java
Conveyor
Customer Care
Existing Customers
Support
Knowledge Base
Company
Home
About
Blog
Contact Us
Refund Policy
Support Policy
Privacy Policy
Home
KB
Knowledgebase Home Page
>
RapidSpell Web ASP.NET
>
Misc
Search the Knowledge Base
-- Select a Category --
- RapidFindReplace WPF
- RapidSpell Desktop .NET
- 3rd Party Ctrls
- Appearance Customization
- Behavior Customization
- Misc
- Troubleshooting
- RapidSpell Desktop Java
- RapidSpell Silverlight
- RapidSpell Web ASP.NET
- Appearance Customization
- Behavior Customization
- Misc
- Rich/HTML Textboxes
- Troubleshooting
- RapidSpell Web Java
- SearchUnit
- Version 2 Articles
- Version 3 Articles
- Thesaurus Desktop .NET
How do I use multiple deployment keys for multiple domain names pointing to one web application?
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=45&catId=60
Options
Print this page
Email this to a friend
Please note: this article is specific to version 2 only, in version 3 multiple keys are settable through the web.config - please consult the user-guide.
In situations where one application is called via two domain names it is necessary to use two license keys. The following describes how to programmatically switch license keys based on the domain name used to access the application. (Note, for 'domain name' read 'server name' if the application is internal)
Once you have generated your 'deployment keys' using our online key generator (please see the instructions in the file 'license-keys.txt' which came with the download) you can switch the keys by adding the following code in the page load method in the code behind of your spell checker popup page.
VB.NET
If Request.ServerVariables("SERVER_NAME") = "
www.mydomain.com
" Then
RapidSpellWeb1.LicenseKey ="<deployment key for www.mydomain.com>"
Else
RapidSpellWeb1.LicenseKey = "<deployment key for other domain>"
End If
and in the main page that uses RapidSpellWebLauncher;
If Request.ServerVariables("SERVER_NAME") = "
www.mydomain.com
" Then
RapidSpellWebLauncher1.LicenseKey ="<deployment key for www.mydomain.com>"
Else
RapidSpellWebLauncher1.LicenseKey = "<deployment key for other domain>"
End If
C#
if (Request.ServerVariables["SERVER_NAME"] == "
www.mydomain.com
"){
RapidSpellWeb1.LicenseKey ="<deployment key for www.mydomain.com>";
} else {
RapidSpellWeb1.LicenseKey = "<deployment key for other domain>";
}
and in the main page that uses RapidSpellWebLauncher;
if (Request.ServerVariables["SERVER_NAME"] == "
www.mydomain.com
"){
RapidSpellWebLauncher1.LicenseKey ="<deployment key for www.mydomain.com>"
}else{
RapidSpellWebLauncher1.LicenseKey = "<deployment key for other domain>"
}
Related Questions:
How do I use RapidSpell Web ASP.NET with ASP pages - VERSION 4?
Is it possible to use RapidSpell Web with Infragistics' UltraWebGrid?
How to use RapidSpell Web .NET with ASP.NET MVC (no runat=server forms).
How can I use RapidSpellWInline with an ASP or HTML page - VERSION 3?
Using 1 RapidSpellWInlineTextBox (as you type) with multiple regular plain text boxes.
Attachments:
No attachments were found.