Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:lscwp:configuration:crawler [2018/11/30 18:49]
Lisa Clarke [Role Simulation] Added Cookie Crawler
litespeed_wiki:cache:lscwp:configuration:crawler [2018/11/30 19:43]
Lisa Clarke [Cookie Crawler] Added content
Line 79: Line 79:
 **NOTE**: Only one crawler may run at a time, so if you have specified one or more user ids in the **Role Simulation** box, first the "​Guest"​ crawler will run, and then the role-based crawlers will run, one after the other. **NOTE**: Only one crawler may run at a time, so if you have specified one or more user ids in the **Role Simulation** box, first the "​Guest"​ crawler will run, and then the role-based crawlers will run, one after the other.
  
-===== Cookie ​Crawler ​===== +===== Cookie ​Simulation ​===== 
-Coming soon.+To crawl for a particular cookie, enter the cookie name, and the values you wish to crawl for. Values should be one per line, and can include a blank line. There will be one crawler created per cookie value, per simulated role. Press the + button to add additional cookies, but be aware the number of crawlers grows quickly with each new cookie.
  
 +For example, if you crawl for ''​Guest''​ and ''​Administrator''​ roles, and you add ''​testcookie1''​ with the values ''​A''​ and ''​B'',​ you have 4 crawlers:
 +
 +  - Guest, testcookie1=A
 +  - Guest, testcookie1=B
 +  - Administrator,​ testcookie1=A
 +  - Administrator,​ testcookie1=B
 +  ​
 +Add ''​testcookie2''​ with the values ''​C'',​ ''​D'',​ and <​blank>​ and you suddenly have 12 crawlers.
 +
 +  - Guest, testcookie1=A,​ testcookie2=C
 +  - Guest, testcookie1=B,​ testcookie2=C
 +  - Administrator,​ testcookie1=A,​ testcookie2=C
 +  - Administrator,​ testcookie1=B,​ testcookie2=C
 +  - Guest, testcookie1=A,​ testcookie2=D
 +  - Guest, testcookie1=B,​ testcookie2=D
 +  - Administrator,​ testcookie1=A,​ testcookie2=
 +  - Administrator,​ testcookie1=B,​ testcookie2=
 +  - Guest, testcookie1=A,​ testcookie2=
 +  - Guest, testcookie1=B,​ testcookie2=
 +  - Administrator,​ testcookie1=A,​ testcookie2=
 +  - Administrator,​ testcookie1=B,​ testcookie2=
 +
 +There aren't many situations where you would need to simulate a cookie crawler, but it can be useful for sites that use a cookie to control multiple languages or currencies.
 ===== Custom SiteMap ===== ===== Custom SiteMap =====
 //Empty string// //Empty string//
  • Admin
  • Last modified: 2020/11/14 15:22
  • by Lisa Clarke