MACROMEDIA COLDFUSION MX-CLUSTERCATS Manuel d'utilisateur Page 86

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 156
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 85
76 Chapter 4 Configuring Clusters
Using JDBC for session swapping
To use JDBC for session swapping, the JRun server's local.properties file should
contain the following properties:
session.persistence.service=jdbc
session.persistence.jdbc.class=allaire.jrun.session.JDBCSessionStorage
session.persistence.jdbc.JDBCDriver=sun.jdbc.odbc.JdbcOdbcDriver
session.persistence.jdbc.JDBCConnectionURL=jdbc:odbc:JRunSessions
session.persistence.jdbc.JDBCSessionTable=sessions
session.persistence.jdbc.JDBCSessionIDColumn=id
session.persistence.jdbc.JDBCSessionDataColumn=data
JDBC swapping requires that you have a valid JDBC driver that can successfully connect
to the database. You must create a table in your database with an id column and a data
column. This example uses a table named sessions, an IDColumn named id, and a
DataColumn named data. Define the id column as varchar(255) and the data column as
binary data.
Vue de la page 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 155 156

Commentaires sur ces manuels

Pas de commentaire